HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)
h
hosts_to_named(1M) hosts_to_named(1M)
equivalent.
EXAMPLES
Create name server data for networks 15.19.8 and 15.19.9 in
div.inc.com.
hosts_to_named -d div.inc.com -n 15.19.8 -n 15.19.9
Create name server data for networks 15.19.8 and 15.19.9 in
div.inc.com. Ignore aliases in the host
table and include 2 mail hubs -
aaa.div.inc.com
and bbb.mkt.inc.comk
. Put all of the options
in a file.
hosts_to_named -f option_file
Option_file
contains the following lines:
-d div.inc.com
-n 15.19.8 -n 15.19.9
-m 20:aaa
-m 30:bbb.mkt.inc.com
-A
Network 15.19.15 has hosts in the xx.inc.com domain and the div.inc.com domain. Create name
server data for xx.inc.com . Create only pointer (PTR) data for hosts in div.inc.com on network
15.19.15 (this requires the hosts in
div.inc.com to have the canonical name or an alias of the form
x.div.inc.com).
hosts_to_named -d xx.inc.com -n 15.19.15 -p div.inc.com
Create name server data for network 15.19.8 in div.inc.com . Include div.inc.com data from net-
work 15.19.15 but do not create pointer (PTR) data for 15.19.15 since that is being handled by the
xx.inc.com server.
hosts_to_named -d div.inc.com -n 15.19.8 -a 15.19.15
AUTHOR
hosts_to_named was developed by HP.
FILES
/etc/hosts The host table
named.boot Primary server boot file (4.x)
named.conf Primary server boot file (8.x)
boot.cacheonly Caching only server boot file (4.x)
conf.cacheonly Caching only server boot file (8.x)
boot.sec.save Secondary server boot file (4.x)
conf.sec.save Secondary server boot file (8.x)
boot.sec Secondary server boot file (4.x)
conf.sec Secondary server boot file (8.x)
db.127.0.0 Pointer information for 127.0.0.1
db.cache Stub cache file for root server addresses
db.root Data for servers for the root domain
db.DOMAIN Address and other data for a domain
db.DOMAIN.in -addr Pointer data for all network-numbers
db.NET Pointer data for a network-number
SEE ALSO
named(1M), RFC1034, RFC1035.
Section 1M−−316 Hewlett-Packard Company − 4 − HP-UX 11i Version 1: September 2005