localhost A RR in a forward map

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Oct 1 00:08:35 UTC 2002


> 
> Hello,
> 
> For an internet server hosting internet domains do I really need to have
> the following entry in all my forward maps:
> 
> localhost               IN      A       127.0.0.1

	You have to do that or have a "localhost" zone.
	Note localhost has two addresses 127.0.0.1 and ::1.
	
	Having localhost in the zones listed in the searchlist reduces
	the number of queries required to resolve it.

	Mark

	example.db:
	localhost	IN	A	127.0.0.1
	localhost	IN	AAAA	::1

	localhost.db:
	$TTL 3600
	@	IN	SOA	...
	@	IN	NS	...
	@	IN	A	127.0.0.1
	@	IN	AAAA	::1
> 
> 
> Regards
--
Mark Andrews, Internet Software Consortium
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