Stefan Monnier <[email protected]> wrote: > > What's the 'right' way to set a system's domain name permanenty (i.e. > > doesn't get lost when you reboot) on Debian systems? > > Over the years, I've grown to realize tat this is fundamentally > ill-defined: the domain name is the way to find the IP address of a host > you want to connect to. The machine itself doesn't necessarily > have/need/use that info: some machines don't have any domain name, some > have several, the domain name(s) can change without the machine being > told, ... > > IME, most cases where a piece of software wanted to know "the host's > domain name" it was either "wrong" (it didn't actually need to know) or > it could use any "unique enough" name. So it might be worth digging > further into your problem to see if you can push it elsewhere: instead > of "set[ting] the system's domain name", make sure the software > doesn't need that domain name. > All very well but there is software (e.g. postfix) that does need the system's domainname and I'm not going to rewrite postfix! :-)
-- Chris Green ยท

