Download What Is Linux?
Transcript
developer.com - Reference nameserver 147.23.1.46 # secondary name server nameserver 147.23.2.1 # extra name sever use the name servers in the order they are encountered in the file. The most reliable name server should always be listed first. Most Linux versions allow only three name servers to be specified. The domain and search keywords are used to allow shortcuts to identify addresses. The domain keyword is used to append a full address to a name instead of forcing you to specify it. For example, if you are on a local area network and want to FTP files from another system, you can use the name wizard instead of specifying the full domain names (such as wizard@foobar.com), as long as the domain line in the /etc/resolv.conf file contains the line: domain foobar.com This feature makes addressing machines on the local area network much easier. The search option does much the same thing as the domain keyword, except it can apply to other networks instead of just your own. Both search and domain keywords can only appear once in the /etc/resolv.conf file. The /etc/named.boot File The /etc/named.boot file is used to specify the master files that contain zone information and name servers. The /etc/named.boot file is often set up by the software installation routine, but you should know the format of the file. One important difference between the named.boot file and most other files is the use of semi-colons for comments instead of the pound sign. A sample /etc/named.boot file looks like this: ; /etc/named.boot http://24.19.55.56:8080/temp/lsg30.htm (22 of 34) [3/17/2001 7:49:30 PM]