mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
FEATURE: Add rTypes restrictions to IGNORE_NAME (#1808)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
D("foo.com", "none"
|
||||
, IGNORE_NAME("testignore")
|
||||
, IGNORE_NAME("testignore2", "A")
|
||||
, IGNORE_NAME("testignore3", "A, CNAME, TXT")
|
||||
, IGNORE_NAME("testignore4", "*")
|
||||
, IGNORE_TARGET("testtarget", "CNAME")
|
||||
, IGNORE("legacyignore")
|
||||
, IGNORE_NAME("@")
|
||||
|
@ -4,9 +4,30 @@
|
||||
{
|
||||
"dnsProviders": {},
|
||||
"ignored_names": [
|
||||
"testignore",
|
||||
"legacyignore",
|
||||
"@"
|
||||
{
|
||||
"pattern": "testignore",
|
||||
"types": "*"
|
||||
},
|
||||
{
|
||||
"pattern": "testignore2",
|
||||
"types": "A"
|
||||
},
|
||||
{
|
||||
"pattern": "testignore3",
|
||||
"types": "A, CNAME, TXT"
|
||||
},
|
||||
{
|
||||
"pattern": "testignore4",
|
||||
"types": "*"
|
||||
},
|
||||
{
|
||||
"pattern": "legacyignore",
|
||||
"types": "*"
|
||||
},
|
||||
{
|
||||
"pattern": "@",
|
||||
"types": "*"
|
||||
}
|
||||
],
|
||||
"ignored_targets": [
|
||||
{
|
||||
|
@ -8,8 +8,11 @@
|
||||
"dnsProviders": {},
|
||||
"records": [],
|
||||
"ignored_names": [
|
||||
"\\*.testignore"
|
||||
{
|
||||
"pattern": "\\*.testignore",
|
||||
"types": "*"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user