Of course a dig query will fail without the domain appended.  Dig takes
you query at face value and will not append domains from your search
suffix list like nslookup and ping will.  You ALWAYS have to fully qualify
your requests when using dig.


On 12-08-15 3:29 PM, "wbr...@e1b.org" <wbr...@e1b.org> wrote:

>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@wbrown-D630:~$ host -t srv _sip._tcp
>_sip._tcp.example.org has SRV record 0 0 5060 tandberg-vcse.example.org.
>wbrown@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@wbrown-D630:~$ dig +short  _sip._tcp srv
>wbrown@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
>attachments. Please notify the sender immediately by return e-mail or
>telephone and delete this message from your system.

Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list

Reply via email to