Date: Fri, 19 Jan 2001 18:45:22 -0500 From: Bill Moran <wmoran@mail.iowna.com> To: "irma.cramins@gte.net" <irma.cramins@gte.net> Cc: "'freebsd-questions@FreeBSD.ORG'" <freebsd-questions@FreeBSD.ORG> Subject: Re: DNS and resolv.conf? Message-ID: <3A68D192.385AFB06@mail.iowna.com> References: <01C0822D.BF5790A0.irma.cramins@gte.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A68D192.385AFB06>