From owner-freebsd-questions Fri Jan 19 15:48:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (unknown [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id 0218237B698 for ; Fri, 19 Jan 2001 15:48:06 -0800 (PST) Received: from mail.iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f0JNjm705017; Fri, 19 Jan 2001 18:45:48 -0500 (EST) Message-ID: <3A68D192.385AFB06@mail.iowna.com> Date: Fri, 19 Jan 2001 18:45:22 -0500 From: Bill Moran X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "irma.cramins@gte.net" Cc: "'freebsd-questions@FreeBSD.ORG'" Subject: Re: DNS and resolv.conf? References: <01C0822D.BF5790A0.irma.cramins@gte.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Irma E. Cramins" wrote: > > I am currently running FreeBSD-RELEASE 4.2 with a DSL connection (DHCP). I > also have natd configured and am running a Class C network at home with > several Win/98 boxes (trying to get the kids to work with UNIX but they are > still learning to type...). I have configured named and run it with the > "-d 1" option to verify it is working as well as used nslookup, dig, etc. > to verify funcionality, everything checks out. The trouble is, even if I > delete /etc/resolve.conf, it is still created with "search > vz.dsl.genuity.net, nameserver 4.2.2.1, etc". Attempts to modify it result > in recreation on subsequent restarts with the same information as above. > When nslookup is run, the default server is not my own, but rather my > upstream provider. This does not sound like a correct setup of DNS, as my > system should not need this file, nor do I wish to use my providers name > server. I have a registered domain name and secondary DNS is setup as well > (ns1.granitecanyon.com). Have I done this correctly or does this sound > like a buggy installation? Here is some info: > network interfaces: xl0 (DHCP), ed0 (192.168.0.1 netmask 255.255.255.0) > gateway is enabled in rc.conf as well as defaultrouter="4.3.181.7" Check the list archives, as this was discussed just last week. What's happening is your upstream provider is telling you who to use for DNS via the DHCP link. There's a config option in dhclient that you can use to keep it from changing your resolv.conf. -Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message