I'm trying to get SRV records working and am having difficulties. I wonder if anyone could point me in the direction of some useful information on this topic to assist in troubleshooting. I've read a lot of stuff about how to set it up and check the records, but since I'm still having problems, there's something else wrong and I've run out of ideas.
nslookup set type=srv _sip._tcp.domain.co.nz
Server: 64.38.5.242 Address: 64.38.5.242#53
Non-authoritative answer: _sip._tcp.domain.co.nz service = 10 10 5060 domain.co.nz. _sip._tcp.domain.co.nz service = 20 10 5060 beta.domain.co.nz.
Authoritative answers can be found from: domain.co.nz nameserver = ns1.widge.net. domain.co.nz nameserver = ns2.widge.net.
_sip._udp.domain.co.nz
Server: 64.38.5.242 Address: 64.38.5.242#53
Non-authoritative answer: _sip._udp.domain.co.nz service = 10 10 5060 domain.co.nz. _sip._udp.domain.co.nz service = 20 10 5060 beta.domain.co.nz.
Authoritative answers can be found from: domain.co.nz nameserver = ns2.widge.net. domain.co.nz nameserver = ns1.widge.net.
One thing I notice from this is that no IP addresses are returned. Is that normal?
The problems I am experiencing are that neither my Grandstream BT102 or SPA3000 can resolve the proxy name using SRV (when use SRV is set to on in those devices). In the case of the BT102 it won't register (switching off use SRV allows it to register). In the case of the SPA3000 when I view the syslog output I can see it failing over from the SRV record to the A record which then resolves.
Any help appreciated.
Cameron
kjcsb writes:
One thing I notice from this is that no IP addresses are returned. Is that normal?
yes, srv entries are domain names. the device then needs to make another query to find out a records of the names.
Any help appreciated.
check with wireshark what kind of dns queries your phones try to make.
-- juha