Problem
After upgrading my system from one running BIND 4.9 to a system running BIND 8.1, the complete zone will not load.
Cause
A possible cause may be that there are underscores ("_") in one or
more of the host names noted in the master zone file. The underscore
character is not considered a valid character in BIND 8.1. An
'nslookup' of the host fails with:*** localhost can't find host_1.sco.com: Non-existent host/domainA check of /usr/adm/syslog might include entries like:
Jun 3 10:01:38 scosysv named[5350]: owner name "host_1.sco.com" IN (primary) is invalid - rejecting Jun 3 10:01:38 scosysv named[5350]: sco.com.hosts:9: owner name error Jun 3 10:01:38 scosysv named[5350]: sco.com.hosts:9: Database error (A) Jun 3 10:01:38 scosysv named[5350]: master zone "sco.com" (IN) rejected due to errors (serial 199901010)
Solution
There are two possible solutions for this problem:
Solution #1Remove any underscores in host names noted in the master zone files, increment the serial number, and restart named.
A successful zone load should look similar to this:
Jun 3 10:14:38 scosysv named[5418]: master zone "sco.com" (IN) loaded (serial 199801011)
Solution #2The server can check domain names based upon their expected client
contexts. In the "options" statement in /etc/named.conf
(OpenServer) or /etc/inet/named.conf (UnixWare), "check-names"
can be set to either fail, warn, or ignore when inconsistencies
in names are detected, for example, in master zone files. See
named.conf(SFF) man pages for the correct syntax. The default
is "check-names master fail", and thus the errors in /usr/adm/syslog.Setting "check-names master warn" would allow the complete zone to be loaded but a resulting warning message would be noted in /usr/adm/syslog:
Jun 3 10:27:06 scosysv named[5503]: owner name "host_1.sco.com" IN (primary) is invalid - proceeding anyway
Setting "check-names master ignore" would result in a successful zone load with no error or warning messages as noted in Solution #1, above.
See also
man page named.conf(SFF)RFC952 (ftp://ftp.isi.edu/in-notes/rfd952.txt)NOTE: This Technical Article was kindly submitted by:Authorized Support Center, ESS
email: support@esshelp.com