Revert "Update RDNS regex"

This reverts commit c6f304b371.
This commit is contained in:
Théophile Diot 2023-05-07 17:31:18 -04:00
parent a544f18e26
commit 48354fb269
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
3 changed files with 4 additions and 4 deletions

View File

@ -48,7 +48,7 @@
"help": "List of reverse DNS suffixes, separated with spaces, to block.",
"id": "blacklist-rdns",
"label": "Blacklist reverse DNS",
"regex": "^( *(([^ ]+)(?!.*\\3( |$))) *)*$",
"regex": "^( *((\\.([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,})(?!.* \\3( |$))) *)*$",
"type": "text"
},
"BLACKLIST_RDNS_URLS": {
@ -138,7 +138,7 @@
"help": "List of reverse DNS suffixes, separated with spaces, to ignore in the blacklist.",
"id": "blacklist-ignore-rdns",
"label": "Blacklist ignore reverse DNS",
"regex": "^( *(([^ ]+)(?!.*\\3( |$))) *)*$",
"regex": "^( *((\\.([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,})(?!.* \\3( |$))) *)*$",
"type": "text"
},
"BLACKLIST_IGNORE_RDNS_URLS": {

View File

@ -48,7 +48,7 @@
"help": "List of reverse DNS suffixes, separated with spaces, to put into the greylist.",
"id": "greylist-rdns",
"label": "Greylist reverse DNS",
"regex": "^( *(([^ ]+)(?!.*\\3( |$))) *)*$",
"regex": "^( *((\\.([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,})(?!.* \\3( |$))) *)*$",
"type": "text"
},
"GREYLIST_RDNS_URLS": {

View File

@ -48,7 +48,7 @@
"help": "List of reverse DNS suffixes, separated with spaces, to whitelist.",
"id": "whitelist-rdns",
"label": "Whitelist reverse DNS",
"regex": "^( *(([^ ]+)(?!.*\\3( |$))) *)*$",
"regex": "^( *((\\.([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,})(?!.* \\3( |$))) *)*$",
"type": "text"
},
"WHITELIST_RDNS_URLS": {