From owner-freebsd-questions Sun Nov 14 1:47: 2 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mashie.force9.net (mashie.force9.net [195.166.128.30]) by hub.freebsd.org (Postfix) with SMTP id 2995415290 for ; Sun, 14 Nov 1999 01:46:55 -0800 (PST) (envelope-from ric@sinclairassoc.force9.co.uk) Received: (qmail 23474 invoked from network); 14 Nov 1999 09:46:54 -0000 Received: from mayfly.plus.net.uk (HELO mayfly.force9.net) (195.166.128.28) by mashie.force9.net with SMTP; 14 Nov 1999 09:46:54 -0000 Received: (qmail 6337 invoked from network); 14 Nov 1999 09:46:54 -0000 Received: from unknown (HELO sinclairassoc.force9.co.uk) (212.56.102.131) by mayfly.plus.net.uk with SMTP; 14 Nov 1999 09:46:54 -0000 Message-ID: <382E8511.67F02855@sinclairassoc.force9.co.uk> Date: Sun, 14 Nov 1999 09:46:57 +0000 From: Richard Morte X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en-GB,en-US,en MIME-Version: 1.0 To: freebsd-questions Subject: DNS and resolv.conf Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have named running on a local server with private subnet 192.168.120 DNS has been working fine for over a month now, but recently I have started getting error messages ('cannot connect to host') when _first_ connecting to the internet and when first accessing mail accounts at our ISP. A 2nd try always succeeds in resolving a name to IP address. I had a single entry in resolv.conf : domain at.home but removed this because I kept seeing entries such as 'home.netscape.com.at.home' in the named logs. All seemed well for about a week. Now I see 'at.home' appended occasionally to DNS lookups outside the local subnet. Testing the DNS with nslookup works fine every time for both local(private) and internet-wide names and addresses. I am wondering if the problem lies with resolv.conf? I have had various entries in there at one time or another. I deleted the DNS entries (forwarders) for our ISP some time ago because it seemed to cause numerous spontaneous dialups. After deleting these entries the dialups ceased. Now that I have deleted the 'domain' entry, resolv.conf is empty. So just what should go in there? Regards, Ric To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message