Random DNS-reply [SOLVED/CLOSED]

Mark Andrews Mark_Andrews at isc.org
Tue Dec 20 22:02:26 UTC 2005


> Mark Andrews wrote:
> > 
> >> 	Well why did you add all the PTR records if you didn't want them
> >> 	to be used?
> 
> I didn't knew that they all would be used every time. To me it
> seemed logic that only the pinged hostname replied, but i can live
> with one master reply...
> 
> -- 
> /Lars

	Name to address and address to name translations in the DNS
	are independent of each other.   Names associated with addresses
	change over time.  Records returned from a nameserver are in
	a indeterminate order.  Only the first PTR is printed.

	Putting that all together ping has to do a name to address
	translation to send the packet and it has to do a address to
	name translation on the reply.  As names can change it does
	this address to name translation on each reply.  As the order
	is indeterminate and as only one name is displayed you get
	lots of names returned which change.

	Mark
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list