SV: set domain name
I think he means that his resolv.conf gets overwritten by the information
provided by the dhcp server as discussed here (with solution):
http://forums.debian.net/viewtopic.php?t=7239
Regards,
Kenneth Grande
-----Opprinnelig melding-----
Fra: Andrei Popescu [mailto:andreimpopescu@gmail.com]
Sendt: 5. oktober 2006 17:42
Til: debian-user@lists.debian.org
Emne: Re: set domain name
"Andrew Critchlow" <a_critchlow@hotmail.com> wrote:
> What's the best way to set the local domain and a debian server?
Use the command 'hostname'. If you want to preserve the change over
reboots edit /etc/hostname
> Also, eveytime I change resolv.conf it gets changed back to something
else, could this be because there is a dhcp server running and the interface
is configured to accept dhcp?
AFAIK it gets changed if you receive your IP over DHCP. Might happen in
other cases as well, but I don't think running a dhcp server is one of
them.
HTH
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Reply to: