Ubuntu DNS-Search Configuration
It’s probably better to have your DNS server be able to resolve ‘puppet’ to the right address, and either to have your DHCP server hand out the DNS nameserver address and search list or else (if you have static IP addresses) to have something like the following in /etc/network/interfaces.
Network-Manager will overwrite the resolv.conf entries as per /etc/network/interfaces file.:
iface eth0 inet static
address 192.168.3.3
netmask 255.255.255.0
gateway 192.168.3.1
dns-search {domain-Name}
dns-nameservers <192.168.3.45 192.168.8.10>