- 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 126.96.36.199 search mydomain.com
nameserver 188.8.131.52 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?