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

2007-12-16 Thread Alex Samad
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  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  type
 queries are still going out. Please help me to disable ipv6
 completely.
 
 On Dec 15, 2007 5:12 PM, Thilo Six [EMAIL PROTECTED] 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  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 [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 


signature.asc
Description: Digital signature


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

2007-12-16 Thread Amogh Hooshdar
I raised this question in the debian-ipv6 list. Here is the thread:-
http://lists.debian.org/debian-ipv6/2007/12/msg1.html Got one
solution of installing my own bind9 named which works.

On Dec 15, 2007 7:38 PM, Thilo Six [EMAIL PROTECTED] wrote:
 Amogh Hooshdar wrote the following on 15.12.2007 14:10
  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  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
 
  ipv6 doesn't seem to have been disabled because the DNS  type
  queries are still going out. Please help me to disable ipv6
  completely.

 are yo using KDE?

   grep IP /etc/environment  

 KDE_NO_IPV6=1
 -

 basically i do not understand how the machine can still do ipv6 when there is
 no kernel modul loaded. ?

 Have you got resolvconf or any local dns[proxy|cache] installed?

 I just found there is also a list especial for ipv6:

 http://lists.debian.org/debian-ipv6/

 bye
 --

 Thilo

 key: 0x4A411E09


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-12-15 Thread Thilo Six
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  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 [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-12-15 Thread Amogh Hooshdar
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  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

ipv6 doesn't seem to have been disabled because the DNS  type
queries are still going out. Please help me to disable ipv6
completely.

On Dec 15, 2007 5:12 PM, Thilo Six [EMAIL PROTECTED] 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  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 [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-12-15 Thread Thilo Six
Amogh Hooshdar wrote the following on 15.12.2007 14:10
 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  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
 
 ipv6 doesn't seem to have been disabled because the DNS  type
 queries are still going out. Please help me to disable ipv6
 completely.

are yo using KDE?

  grep IP /etc/environment  

KDE_NO_IPV6=1
-

basically i do not understand how the machine can still do ipv6 when there is
no kernel modul loaded. ?

Have you got resolvconf or any local dns[proxy|cache] installed?

I just found there is also a list especial for ipv6:

http://lists.debian.org/debian-ipv6/

bye
-- 
Thilo

key: 0x4A411E09


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-12-15 Thread Mike Bird
On Saturday 15 December 2007 05:10:01 Amogh Hooshdar wrote:
 I observed it with wireshark and the DNS queries and responses are like
 this:-

 DNS Standard query  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

 ipv6 doesn't seem to have been disabled because the DNS  type
 queries are still going out. Please help me to disable ipv6
 completely.

We recently ran into a similar problem.  IPv6 has long been
successfully black-listed but for a few days we were unable
to use Etch to download a Debian Testing CD from the torrent
because btdownloadcurses saw the bttracker.acc.umu.se 
record and died on something like no route to host without
ever trying the A record.

bttracker.acc.umu.se now (seems to) always return the A
record before the  record and btdownloadcurses works
once more.

FWIW, we do not have options ipv6 in resolv.conf, but I
don't see a way to say something like options no-ipv6.

--Mike Bird


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2007-12-14 Thread Amogh Hooshdar
I am using Debian Lenny.

$ uname -a
Linux mylappy 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686 GNU/Linux

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  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.

First I tried making these changes /etc/modprobe.d/aliases - Result:
problem persists (Yes, I did reboot after the changes)

Next, I tried adding the two alias off lines in
/etc/modeprobe.d/00local - Result: problem persists.

Finally, I added the line blacklist ipv6 towards the top (5th line)
of /etc/modeprobe.d/blacklist -  Result: still the problem persists.

I have succeeded to make Iceweasel work by setting
network.dns.disableIPv6=true in about:config. But I need a OS-wide
solution so that all my network apps do not send ipv6 DNS  type
requests and they work successfully.

Please help me to disable ipv6 completely.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]