Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Is it possible to configure where the system will look for the machine if I enter just a short domain name?

I work in a grid environment where the machines are many and spread across multiple domains, but they have unique naming, therefore let say skirit23 will only be found as

I could configure the full mappings, but that would be a big file (and constantly changing one). Therefore I was thinking if I could configure the system to look into the then try then try etc...

share|improve this question

1 Answer 1

up vote 4 down vote accepted

This is usually done by specifying search in /etc/resolv.conf (see man 5 resolv.conf).

Example (no more than six domains possible):

share|improve this answer

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.