Updated here one server to this new version of Ubuntu and got these new rakes: standard resolv.conf has been replaced by the program resolvconf, and stopped working resowing domain name after you restart the system.
Now, to prescribe the NA server, need to configure them through /etc/network/interfaces
iface eth1 inet static<br>
<b>dns-nameservers</b> 192.168.2.2 192.168.2.1<br>
<b>dns-search</b> company.com<br / >
The idea is good, but...
But, according to the startup order in /etc/rc?.d, /etc/init.d/networking fulfills earlier than /etc/init.d/resolvconf.
Apparently, therefore, after the system startup file /etc/resolv.conf pristine, and restart /etc/init.d/networking restart yields the desired result (in the file the desired record).
The problem can be solved by adding to /etc/rc.local lines like
sleep 30 && /etc/init.d/networking restart
But somehow that's not cool.
Question: why they did so?
Or I something do not understand?
Google does not like me today.