Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: How to disable ipv6 in Lenny to avoid 1.0.0.0 error in name resolution for AAAA type queries

From: Alex Samad <alex(at)samad.com.au>
Date: Sun Dec 16 2007 - 05:43:57 EST


On Sat, Dec 15, 2007 at 06:40:01PM +0530, Amogh Hooshdar wrote:
> Thank you for response. But it did not help. I commented out all the
> ip6 lines in /etc/hosts and then even rebooted the box.
>
> Now see a sample output for aptitude update:-
>
> # aptitude update
> 0% [Connecting to ftp.us.debian.org (1.0.0.0)] [Connecting to security.debian.or
>
> I observed it with wireshark and the DNS queries and responses are like this:-
>
> DNS Standard query AAAA ftp.us.debian.org
> DNS Standard query response [Malformed packet]
> DNS Standrd query A ftp.us.debian.org
> DNS Standard query response A 1.0.0.0

This looks like your dns server is returning 1.0.0.0 for an A record request, have you tried a dig <hostname> or a hosts <hostname> and see what the results are.

You have done all the right things to turn of ipv6 from the system

>
> ipv6 doesn't seem to have been disabled because the DNS AAAA type
> queries are still going out. Please help me to disable ipv6
> completely.
>
> On Dec 15, 2007 5:12 PM, Thilo Six <T.Six@gmx.de> wrote:
> > Amogh Hooshdar wrote the following on 15.12.2007 07:58
> >
> > </snip>
> >
> > > I changed the "alias net-pf-10 ipv6" line to the following two lines.
> > >
> > > alias net-pf-10 off
> > > alias ipv6 off
> > >
> > > After rebooting, I checked: lsmod | grep ipv6. Sure enough it is gone
> > > and the command gives nil output. But when I use bitchx or pidgin to
> > > connect to irc.freenode.net, I can still see DNS AAAA irc.freenode.net
> > > type of queries.As a result our DNS server that doesn't understand
> > > ipv6 returns 1.0.0.0 as the address and the clients don't work.
> >
> > </snip>
> >
> > > Please help me to disable ipv6 completely.
> >
> > <--------------- /etc/hosts ---------------
> >
> > # The following lines are desirable for IPv6 capable hosts
> > #::1 ip6-localhost ip6-loopback
> > #fe00::0 ip6-localnet
> > #ff00::0 ip6-mcastprefix
> > #ff02::1 ip6-allnodes
> > #ff02::2 ip6-allrouters
> > #ff02::3 ip6-allhosts
> > --------------------------------------------->
> >
> > for nameresolution /etc/hosts is read then /etc/resolv.conf .
> >
> > HTH
> > --
> > Thilo
> >
> > key: 0x4A411E09
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Sun Dec 16 05:44:51 2007

This archive was generated by hypermail 2.1.8 : Wed Feb 27 2008 - 15:03:55 EST


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library