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

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



Yuji Sekiya escribió:
> 
> At Tue, 24 Apr 2001 17:13:31 +0200,
> Juan Fco Rodriguez Hervella <jrh@xxxxxxxxxx> wrote:
> 
> > We have a DNSv6 running in another machine (FreeBSD).
> >
> > Before, I could make a "ping6 <name_of_box>", but now, the
> > name is not resolve.
> >
> > Do I have to compile the kernel with some option to make this,
> > or it depends of glibc ???
> 
> Could you show us your /etc/resolv.conf ?
> 
> -- Yuji Sekiya @ USAGI Project

Sorry, this problem has been solved compiling the glibc21 with the
USAGI patch, but I
just have upgrade to Suse 7.1 which has the glibc22, and I have the 
same problem (for this I asked for where is the glibc22 patch in a
previous mail).

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.

>>> Note that at least BSDs with KAME and Linux with glibc 2.1.92 or
>>> newer (including RedHat 7) already got resolvers that can do this.
>>> ...bla...bla....bla

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

My /etc/resolv.conf (for Linux with glibc22 *without* any USAGI patches
is):

jrh@ladilla:~$ cat /etc/resolv.conf
#
# /etc/resolv.conf
#
# Automatically generated by SuSEconfig on Thu Mar 15 12:36:48
/etc/localtime 2001.
#
# PLEASE DO NOT EDIT THIS FILE!
#
# Change variables (NAMESERVER + SEARCHLIST) in /etc/rc.config instead.
#
#
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.

-- 
*********************************
Juan F. Rodriguez Hervella
Universidad Carlos III de Madrid
********************************