On May, 15 2008 17:26 CEST, Jonathan (Gandi) wrote:
Hi Gordon,
Where can I set the domainname so
that it sticks between reboots?
It's not possible: the DHCP protocol rewite your hostname at every
reboot...
I already opened a support request on this, but it would be good if you
could support setting the domain name.
From what I can see, it appears to be controlled by the Gandi management
service which rewrites /etc/hosts on a reboot. If you moved the
management of the domain name to the dhcpd then we could use 'supersede
domain-name' in dhclient.conf to configure it.
Meanwhile, the solution is to write a startup script which rewrites
/etc/hosts at some point after the Gandi management script has altered
it.