<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/etc/namedb/make-localhost, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>http://cgit.freebsd.org/src/atom?h=main</id>
<link rel='self' href='http://cgit.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<updated>2007-06-18T05:58:23Z</updated>
<entry>
<title>Bring our default named configuration more in line with current</title>
<updated>2007-06-18T05:58:23Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2007-06-18T05:58:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1de57a4c76dc6621743990015f986ed3857e98fa'/>
<id>urn:sha1:1de57a4c76dc6621743990015f986ed3857e98fa</id>
<content type='text'>
best practices:

1. The old way of generating the localhost zones was not optimal both
because they did not exist by default, and because they were not really
aligned with BCP. There is no need to have the dynamic data that the
make-localhost script generated, and good reasons to do this more
"by the book."

2. In named.conf
	a. Clean up white space
	b. Add/clarify a few comments
	c. Slave zones from the root servers instead of using a hints
	file. This has several advantages, as described in the comments.
	d. Significantly revamp the default zones, including the
	forward localhost zone, and the reverse zones for IPv4 and IPv6
	loopback addresses. There are extensive comments describing what
	is included and why. Interested readers should take the time to
	review the RFCs mentioned in the comments. There is also relevant
	information about the motivations for hosting these zones in the
	"work in progress" Internet-Draft,
	http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
	or its successor.
	It's also worth noting that a significant number of these
	empty zones are already included by default in the named binary
	without any user configuration.
	e. Because we're including a lot of examples of both local
	forward zones and slave zones in the default configuration,
	eliminate some of those examples.

3. Add new localhost-{forward|reverse} zone files, and an "empty" zone
to support the changes in 2.d. above. The empty zone file isn't really
empty in order to avoid a warning from BIND about a zone file that
doesn't contain any A or AAAA records.
</content>
</entry>
<entry>
<title>Create a named chroot directory structure in /var/named, and use it</title>
<updated>2004-09-28T09:46:00Z</updated>
<author>
<name>Doug Barton</name>
<email>dougb@FreeBSD.org</email>
</author>
<published>2004-09-28T09:46:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8f1bb3891d64115d3ff3e3a3d341c6d48d38a386'/>
<id>urn:sha1:8f1bb3891d64115d3ff3e3a3d341c6d48d38a386</id>
<content type='text'>
by default when named is enabled. Also, improve our default directory
layout by creating /var/named/etc/namedb/{master|slave} directories,
and use the former for the generated localhost* files.

Rather than using pax to copy device entries, mount devfs in the
chroot directory.

There may be some corner cases where things need to be adjusted,
but overall this structure has been well tested on a production
network, and should serve the needs of the vast majority of users.

UPDATING has instructions on how to do the conversion for those
with existing configurations.
</content>
</entry>
<entry>
<title>Do not taint ::/124 for localhost reverse table.</title>
<updated>2002-01-22T17:22:41Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2002-01-22T17:22:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fc50a4445877e6be4d641685bf0019b89fd519de'/>
<id>urn:sha1:fc50a4445877e6be4d641685bf0019b89fd519de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>o Add a PATH statement to the beginning of make-localhost, making it</title>
<updated>2000-11-29T19:19:06Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2000-11-29T19:19:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9766e32c01845546839d4884f3b825a1e167bddf'/>
<id>urn:sha1:9766e32c01845546839d4884f3b825a1e167bddf</id>
<content type='text'>
  work right when the administrator has modified their runtime environment
  in a manner not anticipated by our script.

Requested by:	Tom Maher &lt;tardis@ece.cmu.edu&gt;
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-27T23:37:10Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-27T23:37:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9b7a44a60e11baaf94f68f81c4b30d26f31643b7'/>
<id>urn:sha1:9b7a44a60e11baaf94f68f81c4b30d26f31643b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add Id keyword</title>
<updated>1998-09-13T23:11:13Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>1998-09-13T23:11:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=965066d630ebcbd4fd78a21fe392f81dad612c48'/>
<id>urn:sha1:965066d630ebcbd4fd78a21fe392f81dad612c48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y"</title>
<updated>1997-08-11T04:06:49Z</updated>
<author>
<name>Bill Fenner</name>
<email>fenner@FreeBSD.org</email>
</author>
<published>1997-08-11T04:06:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4d4f8bc4290f1214fe579143caffedae512355a1'/>
<id>urn:sha1:4d4f8bc4290f1214fe579143caffedae512355a1</id>
<content type='text'>
to pick the serial number.

PR:		misc/3465
Submitted by:	sjr1@flash.net (Stephen J. Roznowski)
</content>
</entry>
<entry>
<title>Update root NS cache.</title>
<updated>1995-03-21T16:33:45Z</updated>
<author>
<name>Garrett Wollman</name>
<email>wollman@FreeBSD.org</email>
</author>
<published>1995-03-21T16:33:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1440dc3c88153f500228f82749cd21445d0f4158'/>
<id>urn:sha1:1440dc3c88153f500228f82749cd21445d0f4158</id>
<content type='text'>
Delete bogus localhost.rev.
Add prototype localhost.rev and a script to create it automatically.
(NB to installl people: you should ask ``do you have a full-time connection
o the Internet?'', run this script, and enable named if the answer is
yes.)
</content>
</entry>
</feed>
