Hi Chris, this looks interesting, I'll do some testing and report back!

Thank you,
Tal

-----Original Message-----
From: Chris Buxton [mailto:cli...@buxtonfamily.us] 
Sent: Thursday, March 28, 2013 5:02 PM
To: Ben-Eliezer, Tal (ITS)
Cc: bind-users@lists.isc.org
Subject: Re: Forward First on Master Zone (bypass SOA)

On Mar 28, 2013, at 12:28 PM, Ben-Eliezer, Tal (ITS) wrote:

> I've spent hours researching a way to accomplish this without any luck. Is 
> there any way to accomplish what I'm trying to do?

No, not unless you want to monkey around with static zones and $INCLUDE 
directives -- something like this:

Internal zone file:

$INCLUDE internal.zone.apex
$INCLUDE example.com.common-records
$TTL 86400
some.internal.host      A       192.0.2.1
[...]

External zone file:

$INCLUDE external.zone.apex
$INCLUDE example.com.common-records
$TTL 86400
some.external.host      A       192.0.2.254
[...]

where the *.zone.apex files look something like this:

$TTL 86400
@       SOA     [... 7 data fields ...]
        NS      ns1.example.com.
        NS      ns2.example.com.
        MX      10 mx1.example.com.

This way, you mostly maintain 3 files of DNS records for the zone -- external, 
internal, and common. Note that this is not compatible with dynamic zones.

If you need to support dynamic zones (and who doesn't, these days?), you're out 
of luck.

Chris Buxton
BlueCat Networks

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to