[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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)



Reply to: