Date: Mon, 01 Sep 2008 11:23:23 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Grant Peel <gpeel@thenetnow.com> Cc: Lars Kristiansen <lars@adventuras.no>, questions@freebsd.org Subject: Re: BIND DNS Patching on 6.1, 6.2 Message-ID: <48BBC29B.6070008@infracaninophile.co.uk> In-Reply-To: <9063D8A4068C46B4979BEA249CEDCA49@GRANT> References: <20080829182700.M90624@thenetnow.com><20080829193718.M43174@thenetnow.com> <48B89671.6000809@adventuras.no> <9063D8A4068C46B4979BEA249CEDCA49@GRANT>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB213FEB4252EFCE691C74956 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Grant Peel wrote: > Hi all, >=20 > Thanks to Lars I have come up with the following (to upgrade BIND for=20 > the DNS caching issue)...(short of updateing all source). >=20 > Download the latest port BIND95.9.5.x (p2 I think), 9.5.0.2 -- correct. =20 > Extract it to the ports directory, >=20 > make -DWITH_REPLACE_BASE You should get an OPTIONS dialogue here which will allow you to achieve the required result. Use 'make config' to force the issue if necessary.= > make install > make clean >=20 > Is the above correct? Yes, that will work just fine. =20 > Also, >=20 > Will the installation leave all my current (BIND) configs alone? It will not trash /etc/namedb/named.conf -- actually, I think it won't touch anything under /etc/namedb so it should 'just work' with your existing configuration. Remember to remove any 'port 53' clauses from 'query source' statements in named.conf or this will all have been for=20 nothing. If you're going to do the 'REPLACE_BASE' thing, then you should add =20 WITHOUT_BIND=3Dyes to /etc/make.conf (/etc/src.conf in 7.x and above) -- otherwise you'll revert to the system version of BIND whenever you update. There are half a dozen BIND related make flags that you can pick and choose from if= you want finer control. Alternatively, you can leave the base system as-is, install the port under /usr/local as usual, and just use variables like the following in=20 /etc/rc.conf: named_enable=3D"YES" named_program=3D"/usr/local/sbin/named" named_flags=3D"-c /etc/namedb/named.conf" This means you'll run named-2.5.0.2 from the port (which is the important= =20 bit) but unless you fiddle with your $PATH, you'll tend to get all the=20 adjunct programs like dig, host, rndc from the base system. Either way, it should all be pretty seamless. Which way you choose is a = matter of taste and convenience rather than necessity. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigB213FEB4252EFCE691C74956 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAki7wqEACgkQ8Mjk52CukIwDVwCdFEsKs6m7QrKLCE1YutjnS0iI nogAn0TCs5N4IDckn9ckaRJTu2GzXxSV =aexJ -----END PGP SIGNATURE----- --------------enigB213FEB4252EFCE691C74956--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48BBC29B.6070008>