Operating System - HP-UX
1833784 Members
4892 Online
110063 Solutions
New Discussion

Re: Naming convention in Bind 4.9.7

 
SOLVED
Go to solution
Mogamat Kahaar
Frequent Advisor

Naming convention in Bind 4.9.7

Hi,

I seem to having difficulties adding DNS entries that have underscores in the name, e.g. test_server.dns.com

I was told that "_" are not allowed but have seen this being used in Micrsoft implementations of DNS.

Is/Are there a document(s) that spells out the correct naming convention that should be used with Bind 4.9.7?

There are 100s of docs on the web and it is proving to be very confusing getting hold of something concrete.

Thanks a million in advance!

Mo
I do what I can !
2 REPLIES 2
Steven Gillard_2
Honored Contributor
Solution

Re: Naming convention in Bind 4.9.7

Have a look at /usr/share/doc/bind496.txt. If you want to allow these names you will need the "check-names primary ignore" directive in your named.boot file:

* Restrictions on Host-Names -
DNS enforces new restrictions on domainnames for RFC952
compliance. Characters such as "_" and "\" are not
allowed in the domainnames. There is a boot file
directive for the Name server "check-names" that tells
what to do when it encounters errors in domain names.
By default, a Primary Name server fails, Secondary Name
server warns and a Name server ignores the errors in the
response from another Name server.

check-names [primary|secondary|response] [fail|warn|ignore]

Hostnames with invalid characters can still be used after
putting the following directive in the named.boot file.

Regards,
Steve
Mogamat Kahaar
Frequent Advisor

Re: Naming convention in Bind 4.9.7

Thanks for pointer!

I added the entry to the /etc/named.boot file and restarted our DNS server. This resolved the problem.

Regards

Mo
I do what I can !