On a BIND resolver, configure
a search list by adding a search directive to
the resolv.conf file. You can specify up to six
domain names as arguments to the search
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 foo.example
to domain name arguments, and if that
doesn't produce a real domain name, to try
bar.example.
For a Windows resolver, find the
resolver configuration window and set the Domain Suffix
Search Order, Microsoft's term for the
search list. In Windows 2000, for example, you can bring up the
resolver configuration window by choosing Start
→ Settings
→ Control Panel
→ Network and Dial-up
Connections. Right-click on the name of your network
connection, select Properties, then double-click
on Internet Protocol (TCP/IP) Properties.
Finally, choose Advanced →
DNS.... Check the box labeled Append
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.

Help


