SUMMARY: How to disable AAAA queries by resolver?

From: Mohamed Lrhazi <lrhazi_at_gmail.com>
Date: Thu Oct 21 2010 - 15:53:48 EDT
I only received answers for my second question... The answers I
received were that the name needs to have a trailing dot, which is
just partly correct.
If the name ends with a dot, the resolver will not append any suffixes.
But, if the name contains a dot, anywhere, the resolver would still
start off querying for the name, as-is, and only append suffixes if
that query fails. (man resolve.conf, options/ndots).

Problem in my case is that the first query made is AAAA, which fails
and causes two more ipv6 useless queries, with suffixes appended,
before an as-is for ipv4 record is made.

Thanks all who replied.
I will submit another summary if I get answers for my IPV6 queries question.
Mohamed.


On Tue, Oct 19, 2010 at 5:05 PM, Mohamed Lrhazi <lrhazi@gmail.com> wrote:
> When I do ping "lemonde.fr" on this Solaris 10 box, I see this in snoop :
>
> 15:01:19.595855 802.1Q vlan#4093 P0 192.168.99.154.38671 >
> 192.168.100.201.domain:  38874+ AAAA? lemonde.fr. (28) (DF)
> 15:01:20.900276 802.1Q vlan#4093 P0 192.168.99.154.38672 >
> 192.168.100.201.domain:  38875+ AAAA? lemonde.fr.uis.dom.ain. (47)
> (DF)
> 15:01:21.042592 802.1Q vlan#4093 P0 192.168.99.154.38673 >
> 192.168.100.201.domain:  38876+ AAAA? lemonde.fr.dom.ain. (43) (DF)
> 15:01:21.534787 802.1Q vlan#4093 P0 192.168.99.154.38674 >
> 192.168.100.201.domain:  38877+ A? lemonde.fr. (28) (DF)
>
>
> We are troubleshooting some sporadic dns resolution timeout issue...
> and I am asked to disable these "useless" ipv6 queries...
>
> How do I do that?
>
> We are not using IPv6, the systems' "ifconfig -a6" returns nothing...
>
> /etc/resolv.conf looks something like this:
>
> domain uis.dom.ain
> nameserver 192.168.100.201
> nameserver 192.168.200.201
> search uis.dom.ain dom.ain
>
> A second question is why did our search domains get appended to the
> query, when the query contained a dot already, "lemonde.fr" ?
>
> Thanks a lot,
> Mohamed.
>



--
" Logic merely sanctions the conquests of the intuition."
Jacques Hadamard
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Oct 21 15:55:37 2010

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:17 EST