Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Feb 2001 11:45:29 +0200 (EET)
From:      Martti Kuparinen <martti.kuparinen@nomadiclab.com>
To:        freebsd-stable@freebsd.org
Subject:   major resolver problems in -STABLE
Message-ID:  <Pine.BSF.4.21.0102271133190.58191-100000@ws140.nomadiclab.com>

next in thread | raw e-mail | index | archive | help
Hi!

I upgraded today our 4.2-STABLE server and now we have major difficulties
with DNS. For example, when I try to start the web server I see this in
the logs:

[Tue Feb 27 11:13:40 2001] [alert] mod_unique_id: unable to gethostbyname("ws2")

However, this works just fine:

# nslookup ws2
Server:  localhost
Address:  127.0.0.1

Name:    ws2.piuha.net
Address:  195.165.196.2

I've read /usr/src/UPDATING but there's nothing about this. Before
todays upgrade the server was upgraded on Friday and everything worked
just fine...

There's also a looong delay with the ftpd because of the resolver. If I
add the hostname into /etc/hosts everything works fine. But as everything
is coming from our DNS server we see these long delays.

# cat /etc/hosts
::1             localhost localhost.piuha.net
127.0.0.1       localhost localhost.piuha.net

# cat /etc/host.conf 
# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis

# cat /etc/resolv.conf 
search piuha.net
nameserver 127.0.0.1
nameserver 195.165.196.2
nameserver 195.165.196.3

So here's what I did:

[ updated the sources in /usr/src ]
# rm -rf /usr/obj/*
# make world kernel
# mergemaster
# reboot

Quick help is appreciated...

Martti

---
Ericsson Research / NomadicLab
Martti Kuparinen <martti.kuparinen@nomadiclab.com>
http://www.iki.fi/~kuparine/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102271133190.58191-100000>