Hostname Naming Compliance

Chris Buxton cbuxton at
Mon Feb 23 18:44:18 UTC 2009

On Feb 23, 2009, at 10:19 AM, Eric C. Davis wrote:

> Are there plans for Bind to enforce hostname compliance according to  
> RFC's or is this going to be left up to each DNS operator?

It's present in BIND 9.3 and later. All characters except a-z, A-Z,  
0-9, and "-" itself are forbidden to appear in the labels of any  
domain name that is to be treated as a hostname. That is, any name  
that has an A or AAAA record, or that appears in the RData of an NS,  
MX, or SRV record (if I'm not mistaken).

This can be disabled with:

options {
	check-names master warn; # or fail


zone "" {
	check-names warn; # or fail

Chris Buxton
Professional Services
Men & Mice

More information about the bind-users mailing list