Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The problem is in browser, ssh,...


myservername is resolved to and both the URLs work fine


Only works here and myservername is not resolved.

Any ideas what might cause this behavior on Linux?

share|improve this question

1 Answer 1

up vote 6 down vote accepted

If you want linux machines to automatically search dns suffixes then your DHCP server will need to issue the "domain-name" option populated with the suffixes you want to be appended to unqualified domain names (where you just state the host part). The isc-dhcp-server scope directive would be:

option domain-name "";

It is probable that your windows machines are getting their primary suffix from being a domain member.

If you aren't using dhcp, then you can manually add this to your /etc/resolv.conf:

share|improve this answer
Thank you for the clarification – Tomas Oct 10 '12 at 11:59
Also an option for resolv: search - Will cause the lookup for myservername to first hit then move on from there to look up names. – WernerCD Oct 10 '12 at 15:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.