1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
stackexchange-dnscontrol/pkg/js/parse_tests/035-naptr.json
Tom Limoncelli 654736be29 Improve MSDNS naptr support (#1165)
* MSDNS: Improve reliability of zone dump

* Update tests

* MSDNS: Add initial NAPTR support

* Update

* fix tests

* fix tests

* Fixing integration tests for NAPTR

* Handle bad JSON. Handle NAPTR TTLs
2021-06-24 18:26:21 -04:00

54 lines
1.3 KiB
JSON

{
"dns_providers": [],
"domains": [
{
"dnsProviders": {},
"name": "foo.com",
"records": [
{
"name": "@",
"naptrflags": "U",
"naptrorder": 100,
"naptrpreference": 10,
"naptrregexp": "!^.*$!sip:customer-service@example.com!",
"naptrservice": "E2U+sip",
"target": "example",
"type": "NAPTR"
},
{
"name": "@",
"naptrflags": "U",
"naptrorder": 102,
"naptrpreference": 10,
"naptrregexp": "!^.*$!mailto:information@example.com!",
"naptrservice": "E2U+email",
"target": "example",
"type": "NAPTR"
},
{
"name": "@",
"naptrflags": "U",
"naptrorder": 103,
"naptrpreference": 10,
"naptrregexp": "!^.*$!mailto:information@example.com!",
"naptrservice": "E2U+email",
"target": "",
"type": "NAPTR"
},
{
"name": "@",
"naptrflags": "U",
"naptrorder": 104,
"naptrpreference": 10,
"naptrregexp": "!^.*$!mailto:information@example.com!",
"naptrservice": "E2U+email",
"target": ".",
"type": "NAPTR"
}
],
"registrar": "none"
}
],
"registrars": []
}