Unix Technical Forum

Re: openbsd 3.5 and IPv6 - can it be disabled?

This is a discussion on Re: openbsd 3.5 and IPv6 - can it be disabled? within the comp.unix.bsd.openbsd.misc forums, part of the OpenBSD category; --> I originally posted this over 4 hours earlier, so Lets try this again. Is this a problem with sbc ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > comp.unix.bsd.openbsd.misc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2008, 05:44 AM
JoeSmith
 
Posts: n/a
Default Re: openbsd 3.5 and IPv6 - can it be disabled?


I originally posted this over 4 hours earlier, so Lets try this again.
Is this a problem with sbc news servers? Original article:

Most of the rest of the world is not up to IPv6. I am wondering if one
can disable use of IPv6 without recompiling the kernel. I have looked
on news grous and did not see anything. I was hoping that 3.5 might be
new enough that it have an option to disable IPv6.

The reason that I want to disable IPv6 is that some programs take
several mintues to complete an operation when using IPv6. The main
problem appears to be that DNS IPv6 packets are not answered and it
takes a long time for the retry and so forth. For example, to do a
'whois yahoo.com', it would take about two minutes. Also, I was going
to setup apache 2.0.49 as a proxy; however, it takes a couple of minutes
to get a single page due to this problem. (I have watched the packets
via tcpdump.)

Also, if I know that IPv6 DNS will not get answered, it would seem
inneficient to even try IPv6 first. Why not skip to IPv4?

As a separate note, doing nslookup on host being looked up by whois
completes in less than a second. I suspect that whois and apache httpd
might make a different call to for host name resolution than most programs.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 05:44 AM
Chip C
 
Posts: n/a
Default Re: openbsd 3.5 and IPv6 - can it be disabled?

JoeSmith <JoeSmith@IDontWantSpam.bogus.bogusaddress.com> wrote in message news:<TfoBc.2629$wJ1.460@newssvr25.news.prodigy.co m>...
> I originally posted this over 4 hours earlier, so Lets try this again.
> Is this a problem with sbc news servers? Original article:
>
> Most of the rest of the world is not up to IPv6. I am wondering if one
> can disable use of IPv6 without recompiling the kernel. I have looked
> on news grous and did not see anything. I was hoping that 3.5 might be
> new enough that it have an option to disable IPv6.
>
> The reason that I want to disable IPv6 is that some programs take
> several mintues to complete an operation when using IPv6. The main
> problem appears to be that DNS IPv6 packets are not answered and it
> takes a long time for the retry and so forth. For example, to do a
> 'whois yahoo.com', it would take about two minutes. Also, I was going
> to setup apache 2.0.49 as a proxy; however, it takes a couple of minutes
> to get a single page due to this problem. (I have watched the packets
> via tcpdump.)
>
> Also, if I know that IPv6 DNS will not get answered, it would seem
> inneficient to even try IPv6 first. Why not skip to IPv4?
>
> As a separate note, doing nslookup on host being looked up by whois
> completes in less than a second. I suspect that whois and apache httpd
> might make a different call to for host name resolution than most programs.


To answer your question: when I went looking for similar info, I found
no way to disable IPv6 other than the (straightforward, if not
instantaneous) kernel reconfig. That was for 3.3 and/or 3.4.

Having said that, something's fishy about your name lookups taking so
long. There is no reason resolution should default to IPv6 packets
unless it's been told to. What's in your /etc/resolv.conf? The
nameserver lines should list IPv4 addresses in dotted-decimal
notation.

One glitch is that by default, the IPv6 lines for localhost and maybe
other entries get into /etc/hosts above the IPv4 lines. I suppost that
*could* be part of your problem, somehow. Move the IPv6 lines to the
bottom of /etc/hosts and see if that helps.

I found IPv6 a minor distraction (extra lines in output from netstat,
ifconfig, etc). I turned it off mostly on the principle of not running
what I wasn't going to use.

Chip C
Toronto
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:17 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com