On Wed, Jul 8, 2015 at 11:55 PM, John Miller <johnm...@brandeis.edu> wrote:
...

>
>
> dig @8.8.8.8 trombone.org +showsearch
>
> ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> @8.8.8.8
> trombone.org +showsearch
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9742
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> versus
>
> dig @8.8.8.8 trombone.org
>
> ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.23.rc1.el6_5.1 <<>> @8.8.8.8
> trombone.org
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36891
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
>
> Even after flushing Google's cache (
> https://developers.google.com/speed/public-dns/cache), I still get the
> same response.  Does anyone have insight on +showsearch, other than the
> following ;-)
>
> ...

"showsearch" has nothing to do with iteration or recursion.  "showsearch"
is related to the "search list" that is used if the domain name you are
searching for is not fully qualified (does not end in a dot).  Only useful
if /etc/resolv.conf has a "search" list (or "domain" has more than two
labels which creates an implied search list).   See man page for
resolv.conf for more.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to