Problem With Configuring Name Servers
tiliescu at learn.senecac.on.ca
Sat Jan 24 14:51:15 PST 2004
This seems to be obvious enough.
You are trying to statically assign your DNS search order, as well as
static name servers, but you have your nic, rl0 on DHCP, which overwrites
the file on boot-up, as you mention.
What you should do is take off DHCP, in rc.conf file.
ifconfig_rl0="inet 192.168.0.2 netmask 255.255.255.0"
Above, you would set your static IP address.
Hope this helps.
On Sat, 24 Jan 2004, Gerard Seibert wrote:
> I have the following in the resolv.conf file:
> domain rcn.com
> nameserver 22.214.171.124
> nameserver 126.96.36.199
> The following entry is in the re.conf file
> Obviously, I am doing something incorrectly here. Why are these files
> being rewritten upon rebooting of the machine, and how do I stop it. I
> have a cable connection that uses "DHCP" . I have the latest release of
> FreeBSD 5.2 installed.
> Thanks in advance.
"Unix is simple, but it takes a genius to understand the simplicity."
- Dennis Ritchie
GPG key fingerprint : 9AC8 A05C 78AD AD73 91DB CBE4 B644 F402 FBFD 5927
More information about the freebsd-questions