multiple subnets same ddns zone

Terry L. Inzauro tinzauro at ha-solutions.net
Fri Aug 28 03:41:23 UTC 2009


is it possible to have multiple subnets defined (for instance 10.0.1.0/27 and 10.0.1.32/27 within 10.0.1.0/24) and then have
both subnets update the same reverse dns zone such as 1.0.10.in-addr.arpa?

if so, can i have some pointers on how to do it?


this is what i currently have:

ddns-update-style interim;
option domain-name-servers host1, host2;
option ntp-servers pool.ntp.org;
default-lease-time 2628000;
max-lease-time 2628000;
#authoritative;
log-facility local7;
one-lease-per-client on;
option time-offset -6;
do-forward-updates off;


# define the key used for ddns updates to local bind9 server
key dydns {
        algorithm hmac-md5;
        secret thisisthesecret;
        }
# primary reverse zone for 1.0.10.in-addr.arpa
zone 1.0.10.in-addr.arpa. {
        primary localhost;
        key dydns;
        }

# 10.0.1.0/27
subnet 10.0.1.0 netmask 255.255.255.0 {
        default-lease-time 2628000;
        ddns-updates on;
        #ddns-domainname "example.org";
        ddns-rev-domainname "1.0.10.in-addr.arpa.";
        authoritative;
        deny client-updates;
        allow unknown-clients;
        option routers 10.0.1.1;

        pool {
                range 10.0.1.4 10.0.1.30;
                }
        }
# 10.0.1./27
subnet 10.0.1.32 netmask 255.255.255.224 {
        default-lease-time 2628000;
        ddns-updates on;
        #ddns-domainname "example.org";
        ddns-rev-domainname "1.0.10.in-addr.arpa.";
        authoritative;
        deny client-updates;
        allow unknown-clients;
        option routers 10.0.1.36;

        pool {
                range 72.22.210.228 72.22.210.254;
        }
}


any help would be greatly appreciated.







More information about the dhcp-users mailing list