A question about the "bind" "example" file provided by MacPorts

William H. Magill magill at me.com
Mon Jan 3 13:24:48 PST 2011


On Jan 3, 2011, at 10:46 AM, Daniel J. Luke wrote:

> On Dec 30, 2010, at 5:23 PM, William H. Magill wrote:
>> 
>> The bind example file:  "db.127.0.0.dist" differs slightly from the one which I have been using for many years now.
>> 
>> The example file contains:
>> 
>>          $ORIGIN localhost.
>> and
>> 			1D IN NS	@
> 
> for the bind9 port?
> 
> The db.127.0.0.dist file doesn't have an $ORIGIN set.
> 
>> Where as the file I have been using contains:
>> 
>>         $ORIGIN 0.0.127.IN-ADDR.ARPA.
>> and
>>         0.0.127.in-addr.arpa.       IN    NS  localhost.
> 
> ... but it has this record (which doesn't use $ORIGIN anyway)
> 
>> The other difference is the apparently redundant , and to me contradictory  "1D" prefix where the SOA expiry time is set to "1W."
> 
> That's not in the dist file, but the expiration is allowed to be different (and there are reasons to do so sometimes).

Baa... got localhost and 127.0, and my files reversed.

Too much staring at files for too long a time in too many open windows with only one set of eyes ... 

The local host file has the double definition of expiration times. 
=========================<cut>
> cat db.localhost.dist
$TTL	86400
$ORIGIN localhost.
@			1D IN SOA	@ root (
					42		; serial (d. adams)
					3H		; refresh
					15M		; retry
					1W		; expiry
					1D )		; minimum

			1D IN NS	@
			1D IN A		127.0.0.1
=========================<cut>


T.T.F.N.
William H. Magill
# iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.5
# MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.5
# Mac mini Core Duo [1.66 Ghz - 2 GB 667]OS X 10.6.5
# Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 
# PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a 
# XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3
# XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3
magill at mcgillsociety.org
magill at me.com
whmagill at gmail.com










More information about the macports-users mailing list