I'm searching for original configuration file that is the source for generating /run/resolvconf/interface/eth0.dhclient
file.
That file contain DNS server names and the domain name for my machine. I'm able to change them but the change are not persistent (other config files are updated by using resolvconf -u
). However, the older values are restored after a restart of the server.
Network Manager is not installed on the server that is Ubuntu 14.04 LTS.
After few hours more and more investigation, I got to conclusion that the domain name is set through our provider DHCP server. I searched a way to bypass it for the domain name without any success by:
adding
dns-domain-name
iniface
configuration foreth0
ineth0.cfg
file:auto eth0 iface eth0 inet dhcp dns-domain-name projet-okinawa.org
- adding
send domain-name
and uncommentingsupersede
for the same domain-name indhclient.conf
- setting the fully qualified name in
/etc/hosts
for ip127.0.0.1
I got any error but never the correct fqdn for the server. I got either the provider dhcp one, or this error:
hostname: Name or service not known