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.js
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

7 lines
365 B
JavaScript

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