curious CNAME answer?

MontyRee chulmin2 at hotmail.com
Thu Feb 4 15:58:09 UTC 2010



Hello, all.
 
I have some curious question.
below is a part of zone file at master dns(example.com).
 
 
www                       IN      CNAME   www.down
down                      IN       NS     ns3.example.com.
 
wehn I dig query like below at server,
 
 
$ dig @dns.example.com www.example.com 
 
 
the result is different..
 
if query from slave dns server,
 
192.168.2.1.domain> xx.xx.xx.xx.30869:  45064* 2/2/2 CNAME[|domain]
 
and the answer is 
www.example.com.   3600    IN      CNAME   www.down.example.com.
www.down.example.com. 27   IN      A        10.10.1.3

 
 
if query from any other server, 
 
192.168.2.1.domain> xx.xx.xx.xx.47127:  58823*- 1/2/2 CNAME[|domain]
 
and the answer is 
www.example.com.   3600    IN      CNAME   www.down.example.com.
 

 
my question is,
Why the result is different by client?
why first case answers A record also but the second case is cname only?
 
 
Thanks in advance. 		 	   		  
_________________________________________________________________
메신저 친구가 돈을 요구하면 주의하세요! 
http://im.msn.co.kr/im/main/mainFaqDetail.asp?seq=96&page=1&BbsCode=bbs03&Category=03&ser_k=a&ser_v=



More information about the bind-users mailing list