Configuring DNS Clients / Configuring Unix DNS Clients
Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.
Learn More
Subtitles of the Movie
Configuring a UNIX DNS client is a lot simpler than configuring a windows DNS client. Because it's all done in one location by adding a few simple entries to a configuration file, called /etc/resolv.conf, that's resolve with no e. First, make sure you’re logged in as root; use your text editor to edit the file /etc/resolv.conf. There are three basic entries you can add into this file: name server, domain, and search. Typically the domain or search entry comes first, followed by the name server entries; you can use the domain keyword or the search keyword but not both. First let’s specify the DNS server IP addresses for the client; to add the first servers start a line with the name server keyword followed by space or tab, then the IP address of the server. To add more servers, add them on separate lines. The servers are used in the order they are listed in the resolv.conf file; you can add a number of servers depending on the internal setting in your system, The default on a SOLARIS8 system is maximum of three. Now that you configured your name servers, you can add a domain setting to the resolv.conf file. Typically, this goes before the name server keywords on the file. Insert the domain keyword, followed by a space or tab, followed by the DNS suffix for your client system such as domain.tld. This domain will be appended to any DNS queries that fail; for example, if you ping work station one and the DNS look up fails, the system will also try work station one.domain.tld. You also have the option of using this search keyword, instead of the domain keyword. With the search keyword, you can specify a list of as many as six domains to append to failed queries, similar to how the domain keyword works. If you use the search keyword, you should place your local domain suffix first, followed by the other domains to append in order, and separated by spaces or tabs; you can save your file now. In addition to the name, server, domain, and search keywords; the sort, list, and options keywords can be used in the resolv.conf file to set more specific options for the resolver. Check the resolv.conf man page by typing man.resolv.conf, for more information on these advanced options. These are rarely used in normal operation.
Tutorial Information
| Course: | DNS |
| Author: | Blair Rampling |
| SKU: | 33444 |
| ISBN: | 1932072438 |
| Release Date: | 2003-07-15 |
| Duration: | 4.5 hrs / 70 lessons |
| Captions: | Available on CD and Online University |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |
VTC Sign up & Benefits
- Unlimited Access
- 98,729 Video Tutorials (23,265 free)
- Video Available as Flash or QuickTime
- Over 1026 Courses
- $30 for One Month Access
- Multi-User Discounts Available
United States 