mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
IGNORE() now supports glob pattern/wildcards (#463)
This commit is contained in:
committed by
Tom Limoncelli
parent
b3e35b56a2
commit
5538de6682
3
pkg/js/parse_tests/023-ignored-glob-records.js
Normal file
3
pkg/js/parse_tests/023-ignored-glob-records.js
Normal file
@@ -0,0 +1,3 @@
|
||||
D("foo.com", "none"
|
||||
, IGNORE("\\*.testignore")
|
||||
);
|
15
pkg/js/parse_tests/023-ignored-glob-records.json
Normal file
15
pkg/js/parse_tests/023-ignored-glob-records.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"registrars": [],
|
||||
"dns_providers": [],
|
||||
"domains": [
|
||||
{
|
||||
"name": "foo.com",
|
||||
"registrar": "none",
|
||||
"dnsProviders": {},
|
||||
"records": [],
|
||||
"ignored_labels": [
|
||||
"\\*.testignore"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user