On a BIND resolver, configure
a search list by adding a
search directive to
resolv.conf file. You can specify up to six
domain names as arguments to the
directive, in the order in which you want the resolver to
append them. For example, specifying:
search foo.example bar.example
tells your resolver to try appending
to domain name arguments, and if that
doesn't produce a real domain name, to try
For a Windows resolver, find the
resolver configuration window and set the
Search Order, Microsoft's term for the
search list. In Windows 2000, for example, you can bring up the
resolver configuration window by choosing
Network and Dial-up
Connections. Right-click on the name of your network
Properties, then double-click
Internet Protocol (TCP/IP) Properties.
DNS.... Check the box labeled
these DNS suffixes (in order), and set the search list in
the list box below.
Learn more about this topic from DNS & Bind Cookbook.
The DNS & BIND Cookbook presents solutions to the many problems faced by network administrators responsible for a name server. This title is an indispensable companion to DNS & BIND, 4th Edition, the definitive guide to the critical task of name server administration. The cookbook contains dozens of code recipes showing solutions to everyday problems, ranging from simple questions, like, "How do I get BIND?" to more advanced topics like providing name service for IPv6 addresses.