dotted hostname is bad IMO

pyh at mail.nsbeta.info pyh at mail.nsbeta.info
Tue Feb 1 03:11:47 UTC 2011


given the domain name of "126.com", and given an A RR in its zone is: 

s1.s2.s3  IN  A  11.22.33.44 

OK when a dns cache query for s1.s2.s3.126.com the first time, it will 
follow the logic: 

#1, s1.s2.s3.126.com has NS RR in cache? (no)
#2, s2.s3.126.com has NS RR in cache? (no)
#3, s3.126.com has NS RR in cache? (no)
#4, 126.com has NS RR in cache? (yes most time, since 126.com is a famous 
domain).
#5, Goto 126.com's NS fetch the result. 

The process is complicated.
But if the hostname is "s1-s2-s3.126.com", what will the dns cache do by 
the first query? it will just do: 

#1, 126.com has NS RR in cache? (yes)
#2, go there fetching the reqult. 

It's much simple and fast. 

So I dont think dotted hostname is good pratical.



More information about the bind-users mailing list