what's a valid domain name?

pyh at mail.nsbeta.info pyh at mail.nsbeta.info
Tue Feb 1 01:54:16 UTC 2011

Ben Croswell writes: 

> In that case technically you are creating undelegated subdomains for each
> router.
> The dot is a delimiter and can't be part of a hostname. 

I was thinking you are wrong.
Period is somewhat permitted in a hostname. 

 From RFC 952 

       A "name" (Net, Host, Gateway, or Domain name) is a text string up
       to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
       sign (-), and period (.).  Note that periods are only allowed when
       they serve to delimit components of "domain style names". 

       No blank or space characters are permitted as part of a
       name. No distinction is made between upper and lower case.  The first
       character must be an alpha character [Relaxed in RFC 1123] .  The 
last character must not be a minus sign or period. 


More information about the bind-users mailing list