Problem after upgrading to BIND 9

Mark Andrews Mark_Andrews at isc.org
Wed Aug 30 23:38:30 UTC 2006


> Thanks for the tips -- it turned out it was because of the entry in
> /etc/hosts, or more so that the ::1 appeared first for localhost (an
> odd FreeBSD default). Removing that fixed everything. Not sure why
> this suddenly happened after we upgraded from BIND 8 to 9, but I'm
> glad it's fixed. :)
> 
> Patrick

	You have fixed the symptom but not the problem.  getaddrinfo(),
	which telnet should be using, only looks for IPv6 addresses if
	there is IPv6 support enabled.  You will have trouble talking to
	all dual stack machines unless you find the real cause.
 
> On 8/28/06, Mark Andrews <Mark_Andrews at isc.org> wrote:
> >
> > > patrick wrote:
> > > > I upgraded BIND on one of our DNS servers (running FreeBSD 4.x) to
> > > > version 9, and now all of our other machines that use this server for
> > > > DNS resolution is experiencing a problem where "localhost" seems to be
> > > > resolving to "::1". For example, if I previously typed:
> > > >
> > > > telnet localhost 25
> > > >
> > > > I would get:
> > > >
> > > > Trying 127.0.0.1...
> > > > Connected to localhost.
> > > > Escape character is '^]'.
> > > > ...
> > > >
> > > > But now, I get:
> > > >
> > > > Trying ::1...
> > > >
> > > > Which takes forever to timeout.
> > > >
> > > > In my /etc/hosts file, I have
> > > >
> > > > ::1                     localhost
> > > > 127.0.0.1               localhost
> > > >
> > > >
> > > > We don't use IPV6 at all, and I do have the localhost.rev and
> > > > localhost-v6.rev added into the new BIND 9 server. Does anyone have an
> > > > idea of how I can get this to work the way it used to?
> > >
> > > If you don't use IPV6 at all, why do you even bother with a
> > > localhost-v6.rev? Try commenting out that definition and see if your
> > > problem goes away.
> >
> >         Removing localhost-v6.rev won't have any effect.
> >
> >         What does "netstat -rnf inet6" return.
> >
> > >             - Kevin
> > --
> > ISC Training!  October 16-20, 2006, in the San Francisco Bay Area,
> > covering topics from DNS to DHCP.  Email training at isc.org.
> > --
> > Mark Andrews, ISC
> > 1 Seymour St., Dundas Valley, NSW 2117, Australia
> > PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org
> >
> >
> >
> 
> 
--
ISC Training!  October 16-20, 2006, in the San Francisco Bay Area,
covering topics from DNS to DHCP.  Email training at isc.org.
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list