1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

Attempt to add NAPTR support.

This commit is contained in:
Peter Dunaskin
2019-03-28 15:40:13 +01:00
parent 963bd32e20
commit 7566c0428e
15 changed files with 251 additions and 87 deletions

View File

@@ -0,0 +1,4 @@
D("foo.com","none",
NAPTR("foo.com",100,10,"U","E2U+sip","!^.*$!sip:customer-service@example.com!","example"),
NAPTR("foo.com",102,10,"U","E2U+email","!^.*$!mailto:information@example.com!","example")
);

View File

@@ -0,0 +1,31 @@
{
"registrars": [],
"dns_providers": [],
"domains": [
{
"name": "foo.com",
"registrar": "none",
"dnsProviders": {},
"records": [
{
"type": "NAPTR",
"order": 100,
"preference": 10,
"flags": "U",
"service": "E2U+sip",
"regexp": "!^.*$!sip:customer-service@example.com!",
"target": "example"
},
{
"type": "NAPTR",
"order": 102,
"preference": 10,
"flags": "U",
"service": "E2U+email",
"regexp": "!^.*$!mailto:information@example.com!",
"target": "example"
}
]
}
]
}