This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A problem about resolv in Glibc 2.11.3


Hi, list

I encountered a problem about resolv in Glibc 2.11.3.

while setting /etc/resolv.conf in system like this;
	nameserver AAAA	 (incorrect ipv6 addr)
	nameserver A	 (incorrect ipv4 addr)
	nameserver B	 (correct ipv4 addr)
and using default option in our options.
I found using nslookup can't find server name for address B.

Through using starce to trace the process, I found the resolv didn't try to 
connect the nameserver B, but also try to connect AAAA and A, right?


The same including:
1) 6X6
	nameserver AAAA	 (incorrect ipv6 addr)
	nameserver B	 (correct ipv4 addr)
	nameserver AAAA	 (incorrect ipv6 addr)

2) 66X
	nameserver AAAA	 (incorrect ipv6 addr)
	nameserver AAAA	 (incorrect ipv6 addr)
	nameserver B	 (correct ipv4 addr)

3) 46X
	nameserver A	 (incorrect ipv4 addr)
	nameserver AAAA	 (incorrect ipv6 addr)
	nameserver B	 (correct ipv4 addr)

Except above four kinds of configuration, we can lookup the server name normally in other cases.

I don't know the detailed reasons.  And any advice is welcome.

Thanks,
Rui


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]