- Attempt to resolve host named 'puppet' in domain 'puppet.mydomain.com'
- Resolution is successful if the resolv.conf file does not include search directive for 'localdomain' and only the domain 'mydomain.com'.
nameserver 220.127.116.11 search mydomain.com
nameserver 18.104.22.168 search localdomain mydomain.com
- The system is multihomed
- Both interfaces have "domain-name mydomain.com" and "domain-search mydomain.com" directives in /etc/network/interfaces.
How can the resolution fail with an additional domain? Shouldn't resolution be attempted for all listed domains?
What do I need to configure to prevent localdomain from being added to the resolv.conf file?