I am trying to add a SRV record to my domain without any luck. I have made the following calls to the custom DNS API:
curl -X PUT -d "_ts3._udp.d3matt.twilightparadox.com. 84600 IN SRV 10 10 9987 ts3.d3matt.twilightparadox.com." --user user:password https://mail.d3matt.twilightparadox.com/admin/dns/custom/_ts3._udp.d3matt.twilightparadox.com/srv
curl -X PUT -d "_ts3._udp.d3matt.twilightparadox.com. 84600 IN SRV 10 10 9987 ts3.d3matt.twilightparadox.com." --user user:password https://mail.d3matt.twilightparadox.com/admin/dns/custom/d3matt.twilightparadox.com/srv
Here is the output of a GET command against the Custom DNS API:
[
{
"qname": "d3matt.twilightparadox.com",
"rtype": "SRV",
"value": "_tsdns._tcp.d3matt.twilightparadox.com. 84600 IN SRV 10 10 9987 ts3.d3matt.twilightparadox.com."
},
{
"qname": "d3matt.twilightparadox.com",
"rtype": "SRV",
"value": "_ts3._udp.d3matt.twilightparadox.com. 84600 IN SRV 10 10 9987 ts3.d3matt.twilightparadox.com."
},
{
"qname": "_ts3._udp.d3matt.twilightparadox.com",
"rtype": "SRV",
"value": "_ts3._udp.d3matt.twilightparadox.com. 84600 IN SRV 10 10 9987 ts3.d3matt.twilightparadox.com."
},
{
"qname": "ts3.d3matt.twilightparadox.com",
"rtype": "A",
"value": "162.219.4.152"
}
]
Both of these show up on the Custom DNS page of the admin panel, and also in my zones file. However, when I do a DIG against my domain (or use any online tool to lookup SRV records) I get nothing at all:
root@mailinabox:~# dig _ts3._udp.d3matt.twilightparadox.com SRV
; <<>> DiG 9.9.5-3ubuntu0.8-Ubuntu <<>> _ts3._udp.d3matt.twilightparadox.com SRV
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 62253
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_ts3._udp.d3matt.twilightparadox.com. IN SRV
;; AUTHORITY SECTION:
d3matt.twilightparadox.com. 766 IN SOA ns1.mail.d3matt.twilightparadox.com. hostmaster.mail.d3matt.twilightparadox.com. 2016040305 7200 1800 1209600 1800
;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Apr 03 13:44:42 CDT 2016
;; MSG SIZE rcvd: 121
I’m sure there’s something really stupid I’m missing but I’ve been looking at this for 3 hours now and can’t figure out. Can anyone help me out?
EDIT: I tried adding just a plain old A record using the web interface and that’s also failing to resolve… So it seems I’ve managed to break NSD somehow?