dnsimple / erldns

DNS server, in Erlang.
MIT License
398 stars 98 forks source link

NAPTR query? #145

Closed Phobos03 closed 2 years ago

Phobos03 commented 2 years ago

Hello everyone, sorry for the spam, but I'm curious how NAPTR structure in JSON file should be write to get answers from dig command?

Phobos03 commented 2 years ago

I have something like this but this is not gonna work?

            "name": "2.1.2.1.5.5.5.0.7.7.1.e164.arpa.",
            "type": "NAPTR",
            "ttl": 300,
            "data": {
                "flags": "admin.example.com",
                "service": "2013022001",
                "regexp": "u",
                "replacement": "7200",
                "order": 604800,
                "preference": 300
            }
Phobos03 commented 2 years ago

fix