Finally Converting From Bind 8 -> Bind 9

Josh Paetzel josh at
Mon Jul 2 22:46:00 UTC 2007

On Monday 02 July 2007 16:48, Tim Daneliuk wrote:
> I am (ever so) slowly moving my domain from FBSD 4.x to 6.2.  I am now
> at the point where I need to convert my Bind 8 configuration to Bind 9.
> In so doing, I like to finally separate my internal (non-routable) hosts
> so that their names never resolve outside the private network, and
> expose only the public facing hosts to the world via DNS.  I'd also
> like to (finally) associate names with dhcpd-provided addresses
> so both forwards & reverses work inside the private network.
> Could some kind soul please point me to a good HOWTO on this migration and
> reconfiguration?  I am DAGSing as I write this, but so far have not
> found what I want.
> TIA,

The first part of what you want is easy. 
In named.conf you'll have something like...

acl private-hosts {;; };

view "internal" {
    match-clients { "private-hosts"; };
    zone "" {
        type master;
        file "master/";

view "external" {
    match-clients { any; };
    zone "" {
        type master;
        file "master/";

Now you have two separate zonefiles, one which is consulted when someone from or makes a query and one that is consulted when 
anyone else makes a query.


Josh Paetzel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list