MozillaZine

Network.dns.disableIPv6

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 04:53, 11 March 2006
SteveChapel (Talk | contribs)
(Has an effect in - add SeaMonkey)
<-- Previous diff
Revision as of 11:49, 30 July 2007
XXRazor (Talk | contribs)
(False)
Next diff -->
Line 14: Line 14:
Disable IPv6 DNS lookups. (Default in OS X, OS/2) Disable IPv6 DNS lookups. (Default in OS X, OS/2)
-===False===+===True===
Perform IPv6 DNS lookups on IPv6-capable OSs. (Default everywhere else) Perform IPv6 DNS lookups on IPv6-capable OSs. (Default everywhere else)

Revision as of 11:49, 30 July 2007

Contents

Background

IPv6 was designed in part to solve the problem IPv4 will soon be facing: the exhaustion of all possible IP addresses. Mozilla implemented IPv6 support in early 2000, but that support did not receive widespread testing until recently as IPv6-capable OSs and network software/equipment became more common.

One particular bug that has appeared exists not in Mozilla, but in IPv6-capable DNS servers: an IPv4 address may be returned when an IPv6 address is requested. It is possible for Mozilla to recover from this misinformation, but a significant delay is introduced.

Under certain versions of OS X, this bug is compounded by another bug wherein the OS still makes IPv6 DNS requests even if IPv6 support is disabled. A significant delay is introduced in all connections requiring DNS lookups while the OS and the DNS server exchange unnecessary (or redundant) queries and responses to resolve the address.

Two approaches were taken to work around these bugs: first, a preference to globally disable IPv6-based DNS lookups browser-wide (this preference), and a blacklist of domains which should never have IPv6-based DNS lookups performed (network.dns.ipv4OnlyDomains).

Possible values and their effects

True

Disable IPv6 DNS lookups. (Default in OS X, OS/2)

True

Perform IPv6 DNS lookups on IPv6-capable OSs. (Default everywhere else)

Caveats

  • Setting this preference to false under OS X can introduce significant delays in DNS lookups.
  • Setting this preference to false under OS/2 can cause DNS lookups to fail altogether.

Recommended settings

If your OS or ISP does not support IPv6, there is no reason to have this preference set to false. Some suggest that setting this preference to true on any OS will speed up connections, though this is probably a placebo effect.

First checked in

2004-03-09 by Darin Fisher

Has an effect in

  • Mozilla Firefox (all versions since 0.9)
  • Mozilla Suite (all versions since 1.7 Beta)
  • SeaMonkey (all versions)
  • Camino (all versions since 0.8)

Related bugs

Related preferences

External links