Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2007 17:26:40 -0500
From:      Tim Daneliuk <tundra@tundraware.com>
To:        Josh Paetzel <josh@tcbug.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Finally Converting From Bind 8 -> Bind 9
Message-ID:  <4697FC20.9050805@tundraware.com>
In-Reply-To: <200707131230.51214.josh@tcbug.org>
References:  <468972C5.9090902@tundraware.com>	<200707021722.05724.josh@tcbug.org>	<4697A498.5000501@tundraware.com> <200707131230.51214.josh@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Josh Paetzel wrote:

> 
> Sure, you can $INCLUDE a file in to a zonefile. :)
> 

Yup - that sure does it.  However, it is still possible to do
Very Stupid Things (tm).  Anyone running bind should not that
this combination of things causes great silliness:

$ORIGIN mydomain.com.

@ IN SOA ......

; Nameservers

             IN NS        foo.mydomain.com   ; oops, missing trailing period

Really dumb, and it had my wondering what was wrong with my $INCLUDE -
nothing, of course.

Thanks for the help.  I now have a nice clean db.external with
a corresponding view.  db.internal merely $INCLUDES db.external
as its first statement and has a corresponding view.  Now when I
modify *anything* - $TTL, a host definition ... whatever, it propagates
into both views with a single edit.



-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra@tundraware.com
PGP Key:         http://www.tundraware.com/PGP/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4697FC20.9050805>