Looking for a tool to handle multiple zones using $INCLUDE

Ryan McCain Ryan.McCain at dss.state.la.us
Mon Oct 15 21:26:30 UTC 2007


I have 3 zones: dss.state.la.us, dss.la.gov, dss.louisiana.gov.  I use one zone file and link dss.la.gov and dss.louisiana.gov to dss.state.la.us to make things easier to manage.

Below is the zone file:

$TTL 3600       ; 1 hour
@               IN SOA  dss-cs99la14.dss.state.la.us. webmaster (
                                2007101503  ; serial
                                1200        ; refresh (20 minutes)
                                600         ; retry (10 minutes)
                                1209600     ; expire (2 weeks)
                                3600        ; minimum (1 hour)
)
                        NS      dss-cs99la14.dss.state.la.us.
                        NS      dss-dr93la05.dss.state.la.us.
                        MX      10 smtp1
$INCLUDE /var/lib/named/master/shared.zone


...However, It is still quite a pain in the a** to add/delete dns records.

I have to edit the shared.zone file, update the serial #, update the appropriate reverse zone and update its serial number.

I have seen many tools to simplify BIND management, but is there one that will work in a setup like this (using an INCLUDE statement)?

I only tested one and when I said to update the dss.state.la.us zone it actually updated the dss.state.la.us zone file and didn't have the intelligence to follow the INCLUDE link.

If there's nothing out there I'll write something dirty and share it when complete.

Thx, Ryan



More information about the bind-users mailing list