[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00493) Re: can not resolve names



On Mon, May 07, 2001 at 01:28:42PM +0200, Juan Fco Rodriguez Hervella wrote:
> In a mail of Stig Venas, he said:
> 
> >>> If you want to use IPv6 transport for DNS lookups and your resolver
> >>> doesn't support it, then I might have a solution for you.
> 
> >>> At http://www.venaas.no/dns/bind/ you can find a patch for the BIND
> >>> 8.2.3 resolver that makes it use IPv6 transport. You can then put
> >>> IPv6 addresses for nameservers in resolv.conf and link programs with
> >>> the 8.2.3 resolver (-lbind) rather than your current resolver libs.

This patch is based on what I did for glibc 2.2 and which USAGI has
backported to 2.1.

> So, with glic 2.2, I can set an IPv6 address in /etc/resolv.conf
> nameserver tag, can not I?

Yes with 2.2 you should be able to specify IPv6 addresses for name-
servers in resolv.conf. 

> My /etc/resolv.conf (for Linux with glibc22 *without* any USAGI patches
> is):
> 
> search it.uc3m.es
> #nameserver 3ffe:3328:6:ffff:2c0:26ff:fea0:adee
> nameserver 163.117.139.31          
> 
> If I change the nameserver with an IPv6 address, all happens to work
> correctly,
> but the "ping6 mira.ipv6":
> 
> jrh@ladilla:~$ ping6 mira.ipv6
> ping: mira.ipv6: Name or service not known  
> 
> The same happens with "nameserver <IPv4>". 
> The name mira.ipv6 is a AAAA record.
> 
> If I make a ping to a A record, all works fine.

Okay, so it works with some applications but not ping? Maybe ping
is linked with another resolver.

Stig