1
0
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:
Dragos Harabor
2022-11-07 08:27:04 -08:00
committed by GitHub
parent 4b3d8f724e
commit 68516025a5
12 changed files with 121 additions and 39 deletions

View File

@ -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("@")

View File

@ -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": [
{

View File

@ -8,8 +8,11 @@
"dnsProviders": {},
"records": [],
"ignored_names": [
"\\*.testignore"
{
"pattern": "\\*.testignore",
"types": "*"
}
]
}
]
}
}