HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 73
Domain Name Service
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 73 highlights
10. Domain Name Service DNS Under IRIX BIND Configuration Files hoResolution with /etc/resolv.conf The only configuration file required by BIND clients is the /etc/resolv.conf file. The resolv.conf file has several functions: • It defines the default domain or the default domain search list. • It specifies the ordering of host resolution services used by gethostbyname and gethostbyaddr. • It lists Internet addresses of name servers. The first two items apply to both client and server stations. The last item is required only by client stations. To set up a station as a client of remote servers, add nameserver entries for the Internet addresses of the name servers to /etc/resolv.conf. For example: nameserver 128.32.130.12 You can specify up to three nameserver entries. On client and server stations, the name in /etc/sys_id should be set to the fully qualified domain name. However, if you choose not to use fully qualified domain names, add a line with the keyword domain and the station's domain to the resolv.conf file. The gethostbyname and gethostbyaddr library routines normally access station information in this order: • NIS • BIND • Local /etc/hosts file Configuring the Primary BIND Server Use this procedure to configure a primary server: 1. Login as root. 2. Move to the named example directory cd /var/named/Examples and copy the template files to the /var/named directory: cp named.boot.master root.cache named.hosts \ named.rev localhost.rev /var/named 3. Move named.boot.master to named.boot. 4. Edit named.boot to something similar to the following: ; ; Boot file for apple.fruit.com, primary for fruit.com ; directory /var/named ;type domain source host/file backup file cache . root.cache primary fruit.com fruit.named.hosts 5. Modify the named.hosts file, here called fruit.named.hosts, to something similar to the following: ; Authoritative data for fruit.com 68