Date: Wed, 09 Apr 2008 17:01:31 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ewald Jenisch <a@jenisch.at> Cc: freebsd-questions@freebsd.org Subject: Re: "make-localhost" not there (DNS/named setup on 7.0) Message-ID: <47FCE85B.4040505@infracaninophile.co.uk> In-Reply-To: <20080409143619.GA3169@aurora.oekb.co.at> References: <20080409143619.GA3169@aurora.oekb.co.at>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Ewald Jenisch wrote: > Hi, > > After installing FreeBSD 7.0 (AMD64-version) on a new machine wanted > to set up a caching DNS. > > As per the handbook > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-dns.html) > I wanted to run "make-localhost" in order to set up the configuration > files. But the script "make-localhost" isn't there: > > $ pwd > /etc/namedb > $ ls -l > total 22 > drwxr-xr-x 2 bind wheel 512 Feb 24 10:39 dynamic > drwxr-xr-x 2 root wheel 512 Mar 17 12:50 master > -rw-r--r-- 1 root wheel 11259 Mar 17 16:01 named.conf > -rw-r--r-- 1 root wheel 2963 Mar 17 16:01 named.root > drwxr-xr-x 2 bind wheel 512 Feb 24 10:39 slave > $ > > Not in this directory, nor anywhere else: > > # find / -name make-localhost > # > > First I thought I did something wrong so I set up another machine with > the AMD64-version of 7.0, but alas - same result - again > "make-localhost" isn't there. > > Has anybody else seen this behavior? Is the handbook wrong wrt setup > of named on a AMD64-system? > > Thanks much in advance for any clue, > -ewald The handbook is slightly out of date and the 'make-localhost' script is now history. Instead, the system comes with pre-installed /etc/namedb/master/localhost-forward.db and .../localhost-reverse.db zone files and the appropriate configuration shown in the example named.conf file. Basically, ignore the paragraph in the handbook that says 'run make-localhost' and nowadays base your named.conf on the sample configuration supplied with the system rather than the examples shown in the handbook. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkf86GEACgkQ8Mjk52CukIzk7wCbBMFZ0DxzKby8CUE8oIAGWNlV NSgAnijSLU6UkGILoH8CdyW15ZQ/3Pi4 =84pD -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FCE85B.4040505>
