SRV query with no domain?

WBrown at e1b.org WBrown at e1b.org
Wed Aug 15 19:29:33 UTC 2012


kevin wrote on 08/15/2012 12:52:18 PM:

> I don't believe SRV lookups use the "search" directive in /etc/
> resolv.conf; I think that's only for A (name-to-address) lookups. 
> But I could be wrong on that...

Using host I was able to do a search for _sip._tcp for the search domain 
on my system (domain changed to example.org):

wbrown at wbrown-D630:~$ host -t srv _sip._tcp
_sip._tcp.example.org has SRV record 0 0 5060 tandberg-vcse.example.org.
wbrown at wbrown-D630:~$ host -t srv _sip._tcp.example.org
_sip._tcp.example.org has SRV record 0 0 5060 tandberg-vcse.example.org.

Dig fails on same query without domain, succeeds if it is included:

wbrown at wbrown-D630:~$ dig +short  _sip._tcp srv
wbrown at wbrown-D630:~$ dig +short  _sip._tcp.example.org srv
0 0 5060 tandberg-vcse.example.org.



Confidentiality Notice: 
This electronic message and any attachments may contain confidential or 
privileged information, and is intended only for the individual or entity 
identified above as the addressee. If you are not the addressee (or the 
employee or agent responsible to deliver it to the addressee), or if this 
message has been addressed to you in error, you are hereby notified that 
you may not copy, forward, disclose or use any part of this message or any 
attachments. Please notify the sender immediately by return e-mail or 
telephone and delete this message from your system.



More information about the bind-users mailing list