Networking Forums

Networking Forums > Computer Networking > Linux Networking > disabling aaaa queries

Reply
Thread Tools Display Modes

disabling aaaa queries

 
 
Walter Hofmann
Guest
Posts: n/a

 
      11-12-2004, 10:33 PM
Hi,

it seems that my Debain unstable computer queries for an AAAA record
(ie. ipv6), waits for a timeout, and only then queries for the A
record (ie. ipv4) address whenever it needs to resolve a name in DNS.

Of course every network application is delayed by this. How can I switch
this off?

I read the man page for resolv.conf, and it says that this is switched
_on_ by adding the line "options inet6" to /etc/resolv.conf. But I
checked and this line is not there. So why is it doing ipv6 queries?

Walter
 
Reply With Quote
 
 
 
 
Jerry Smiley
Guest
Posts: n/a

 
      11-13-2004, 04:02 AM
Walter Hofmann wrote:
> Hi,
>
> it seems that my Debain unstable computer queries for an AAAA record
> (ie. ipv6), waits for a timeout, and only then queries for the A
> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>
> Of course every network application is delayed by this. How can I switch
> this off?
>
> I read the man page for resolv.conf, and it says that this is switched
> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
> checked and this line is not there. So why is it doing ipv6 queries?
>
> Walter


Try adding in the /etc/modules.conf

alias net-pf-10 off
alias ipv6 off


 
Reply With Quote
 
Walter Hofmann
Guest
Posts: n/a

 
      11-14-2004, 10:59 PM
Jerry Smiley <(E-Mail Removed)> schrieb:
> Walter Hofmann wrote:
>> Hi,
>>
>> it seems that my Debain unstable computer queries for an AAAA record
>> (ie. ipv6), waits for a timeout, and only then queries for the A
>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>>
>> Of course every network application is delayed by this. How can I switch
>> this off?
>>
>> I read the man page for resolv.conf, and it says that this is switched
>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
>> checked and this line is not there. So why is it doing ipv6 queries?
>>
>> Walter

>
> Try adding in the /etc/modules.conf
>
> alias net-pf-10 off
> alias ipv6 off


This didn't work. I added these lines and also rebooted to make sure
that the ipv6 module was not loaded, but nothing changed.

Any other help?

Walter
 
Reply With Quote
 
Jerry Smiley
Guest
Posts: n/a

 
      11-14-2004, 11:27 PM
Walter Hofmann wrote:

> Jerry Smiley <(E-Mail Removed)> schrieb:
>> Walter Hofmann wrote:
>>> Hi,
>>>
>>> it seems that my Debain unstable computer queries for an AAAA record
>>> (ie. ipv6), waits for a timeout, and only then queries for the A
>>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>>>
>>> Of course every network application is delayed by this. How can I switch
>>> this off?
>>>
>>> I read the man page for resolv.conf, and it says that this is switched
>>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
>>> checked and this line is not there. So why is it doing ipv6 queries?
>>>
>>> Walter

>>
>> Try adding in the /etc/modules.conf
>>
>> alias net-pf-10 off
>> alias ipv6 off

>
> This didn't work. I added these lines and also rebooted to make sure
> that the ipv6 module was not loaded, but nothing changed.
>
> Any other help?
>
> Walter

http://www.linux.ie/pipermail/ilug/2...ch/012815.html
 
Reply With Quote
 
Jerry Smiley
Guest
Posts: n/a

 
      11-14-2004, 11:30 PM
Walter Hofmann wrote:

> Jerry Smiley <(E-Mail Removed)> schrieb:
>> Walter Hofmann wrote:
>>> Hi,
>>>
>>> it seems that my Debain unstable computer queries for an AAAA record
>>> (ie. ipv6), waits for a timeout, and only then queries for the A
>>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>>>
>>> Of course every network application is delayed by this. How can I switch
>>> this off?
>>>
>>> I read the man page for resolv.conf, and it says that this is switched
>>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
>>> checked and this line is not there. So why is it doing ipv6 queries?
>>>
>>> Walter

>>
>> Try adding in the /etc/modules.conf
>>
>> alias net-pf-10 off
>> alias ipv6 off

>
> This didn't work. I added these lines and also rebooted to make sure
> that the ipv6 module was not loaded, but nothing changed.
>
> Any other help?
>
> Walter

If you want to disable ipv6 then you can put the following line in either
/etc/modules.conf for 2.4 kernel or /etc/modprobe.conf for 2.6 kernel.

alias net-pf-10 off
 
Reply With Quote
 
Walter Hofmann
Guest
Posts: n/a

 
      11-18-2004, 09:19 PM
Jerry Smiley <(E-Mail Removed)> schrieb:
> Walter Hofmann wrote:
>
>> Jerry Smiley <(E-Mail Removed)> schrieb:
>>> Walter Hofmann wrote:
>>>> Hi,
>>>>
>>>> it seems that my Debain unstable computer queries for an AAAA record
>>>> (ie. ipv6), waits for a timeout, and only then queries for the A
>>>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>>>>
>>>> Of course every network application is delayed by this. How can I switch
>>>> this off?
>>>>
>>>> I read the man page for resolv.conf, and it says that this is switched
>>>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
>>>> checked and this line is not there. So why is it doing ipv6 queries?
>>>>
>>>> Walter
>>>
>>> Try adding in the /etc/modules.conf
>>>
>>> alias net-pf-10 off
>>> alias ipv6 off

>>
>> This didn't work. I added these lines and also rebooted to make sure
>> that the ipv6 module was not loaded, but nothing changed.
>>
>> Any other help?
>>
>> Walter

> http://www.linux.ie/pipermail/ilug/2...ch/012815.html


This didn't work. I added these lines and also rebooted to make sure
that the ipv6 module was not loaded, but nothing changed.

Any other help?

Walter

 
Reply With Quote
 
Walter Hofmann
Guest
Posts: n/a

 
      11-18-2004, 09:20 PM
Jerry Smiley <(E-Mail Removed)> schrieb:
> Walter Hofmann wrote:
>
>> Jerry Smiley <(E-Mail Removed)> schrieb:
>>> Walter Hofmann wrote:
>>>> Hi,
>>>>
>>>> it seems that my Debain unstable computer queries for an AAAA record
>>>> (ie. ipv6), waits for a timeout, and only then queries for the A
>>>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
>>>>
>>>> Of course every network application is delayed by this. How can I switch
>>>> this off?
>>>>
>>>> I read the man page for resolv.conf, and it says that this is switched
>>>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
>>>> checked and this line is not there. So why is it doing ipv6 queries?
>>>>
>>>> Walter
>>>
>>> Try adding in the /etc/modules.conf
>>>
>>> alias net-pf-10 off
>>> alias ipv6 off

>>
>> This didn't work. I added these lines and also rebooted to make sure
>> that the ipv6 module was not loaded, but nothing changed.
>>
>> Any other help?
>>
>> Walter

> If you want to disable ipv6 then you can put the following line in either
> /etc/modules.conf for 2.4 kernel or /etc/modprobe.conf for 2.6 kernel.
>
> alias net-pf-10 off


This didn't work. I added these lines and also rebooted to make sure
that the ipv6 module was not loaded, but nothing changed.

Both telnet and ssh still look for an AAAA record first.

Any other help?

Walter

 
Reply With Quote
 
Ben Halicki
Guest
Posts: n/a

 
      11-23-2004, 03:05 AM
Walter Hofmann <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> Jerry Smiley <(E-Mail Removed)> schrieb:
> > Walter Hofmann wrote:
> >
> >> Jerry Smiley <(E-Mail Removed)> schrieb:
> >>> Walter Hofmann wrote:
> >>>> Hi,
> >>>>
> >>>> it seems that my Debain unstable computer queries for an AAAA record
> >>>> (ie. ipv6), waits for a timeout, and only then queries for the A
> >>>> record (ie. ipv4) address whenever it needs to resolve a name in DNS.
> >>>>
> >>>> Of course every network application is delayed by this. How can I switch
> >>>> this off?
> >>>>
> >>>> I read the man page for resolv.conf, and it says that this is switched
> >>>> _on_ by adding the line "options inet6" to /etc/resolv.conf. But I
> >>>> checked and this line is not there. So why is it doing ipv6 queries?
> >>>>
> >>>> Walter
> >>>
> >>> Try adding in the /etc/modules.conf
> >>>
> >>> alias net-pf-10 off
> >>> alias ipv6 off
> >>
> >> This didn't work. I added these lines and also rebooted to make sure
> >> that the ipv6 module was not loaded, but nothing changed.
> >>
> >> Any other help?
> >>
> >> Walter

> > If you want to disable ipv6 then you can put the following line in either
> > /etc/modules.conf for 2.4 kernel or /etc/modprobe.conf for 2.6 kernel.
> >
> > alias net-pf-10 off

>
> This didn't work. I added these lines and also rebooted to make sure
> that the ipv6 module was not loaded, but nothing changed.
>
> Both telnet and ssh still look for an AAAA record first.
>
> Any other help?
>
> Walter


Hi Walter,

I'm stuck in a similar situation, where telnet and ssh are both
resolving ipv6 addresses before ipv4.. very slow! Just wondering if
you managed to find a solution?

Regards,

Ben.
 
Reply With Quote
 
Walter Hofmann
Guest
Posts: n/a

 
      11-23-2004, 02:01 PM
Ben Halicki <(E-Mail Removed)> schrieb:
> Walter Hofmann <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
>> Jerry Smiley <(E-Mail Removed)> schrieb:


>> > If you want to disable ipv6 then you can put the following line in either
>> > /etc/modules.conf for 2.4 kernel or /etc/modprobe.conf for 2.6 kernel.
>> >
>> > alias net-pf-10 off

>>
>> This didn't work. I added these lines and also rebooted to make sure
>> that the ipv6 module was not loaded, but nothing changed.
>>
>> Both telnet and ssh still look for an AAAA record first.

>
> I'm stuck in a similar situation, where telnet and ssh are both
> resolving ipv6 addresses before ipv4.. very slow! Just wondering if
> you managed to find a solution?


No, the problem is still open.

Greetings,

Walter
 
Reply With Quote
 
Simon Waters
Guest
Posts: n/a

 
      11-23-2004, 05:05 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Halicki wrote:
| Walter Hofmann <(E-Mail Removed)> wrote in message
news:<(E-Mail Removed)>...
|
|>Jerry Smiley <(E-Mail Removed)> schrieb:
|>
|>>Walter Hofmann wrote:
|>>
|>>
|>>>Jerry Smiley <(E-Mail Removed)> schrieb:
|>>>
|>>>>Walter Hofmann wrote:
|>>>>
|>>>>>Hi,
|>>>>>
|>>>>>it seems that my Debain unstable computer queries for an AAAA
record
|>>>>>(ie. ipv6), waits for a timeout, and only then queries for the A
|>>>>>record (ie. ipv4) address whenever it needs to resolve a name
in DNS.
|>>>>>
|>>>>>Of course every network application is delayed by this. How
can I switch
|>>>>>this off?
|>>>>>
|>>>>>I read the man page for resolv.conf, and it says that this is
switched
|>>>>>_on_ by adding the line "options inet6" to /etc/resolv.conf. But I
|>>>>>checked and this line is not there. So why is it doing ipv6
queries?
|>>>>>
|>>>>>Walter
|>>>>
|>>>>Try adding in the /etc/modules.conf
|>>>>
|>>>> alias net-pf-10 off
|>>>> alias ipv6 off
|>>>
|>>>This didn't work. I added these lines and also rebooted to make sure
|>>>that the ipv6 module was not loaded, but nothing changed.
|>>>
|>>>Any other help?
|>>>
|>>>Walter
|>>
|>> If you want to disable ipv6 then you can put the following line
in either
|>>/etc/modules.conf for 2.4 kernel or /etc/modprobe.conf for 2.6
kernel.
|>>
|>> alias net-pf-10 off
|>
|>This didn't work. I added these lines and also rebooted to make sure
|>that the ipv6 module was not loaded, but nothing changed.
|>
|>Both telnet and ssh still look for an AAAA record first.
|>
|>Any other help?
|>
|>Walter
|
|
| Hi Walter,
|
| I'm stuck in a similar situation, where telnet and ssh are both
| resolving ipv6 addresses before ipv4.. very slow! Just wondering if
| you managed to find a solution?

Stupid question time, but why is it slow, and why is it waiting for
a timeout?

In any case where the IPv6 record exists, or doesn't exist, the
response should be no different than any other DNS lookup, and the
result should also be cached (if only briefly for NXDOMAIN).
Anything other than this suggests other configuration problems.

Typically if it is slow, it is because the first query caches the
relevant nameserver data, and the subsequent query is then very
quick because all the cached data is current.

The issue with SSH is I believe well documented, some versions are
built to try IPv6 addresses first. I vaguely recall it is a compile
time switch which can be overridden with a run time option, but it
is very well documented.

The confusion here seems to be between trying lookups for IPv6 data
(AAAA) and actually using IPv6 to perform lookups. In most cases the
resolvers (and DNS servers) will use IPv4 to perform the lookup for
AAAA, unless you have configured IPv6 as an available protocol (in
which case you probably want the AAAA lookup anyway).
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQFBo3vSGFXfHI9FVgYRAhv2AJ9MMEH80FYvchIaFl7rja RBIUc2LgCg1zmN
XZT/wFpUmSvIEqaQ04QiM+s=
=aeWA
-----END PGP SIGNATURE-----
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AAAA Locksmith Los Angeles 818.386.1022 linkswanted Wireless Internet 0 04-04-2008 05:46 PM
Wireless queries Daryl Wireless Networks 9 01-09-2006 05:31 AM
Queries with using ADSL David G Broadband 2 09-19-2004 07:31 PM
More fax queries David G Broadband 6 09-15-2004 10:47 PM
IPv6 DNS queries Jean-Marc Francois Linux Networking 1 07-28-2004 08:41 PM



1 2 3 4 5 6 7 8 9 10 11