Assigning different ddns-domainname values based on client hostname

Joe Hammerman jhammerman at videoegg.com
Thu Apr 29 18:40:23 UTC 2010


Hello all,

                We have a set of DNS zones that share a network segment. We would like dhcpd's dynamic dns to send updates to different zones based on the zone extension submitted by the client.

In other words, we currently have this:

subnet 172.17.0.0 netmask 255.255.224.0 {
        option routers                  172.17.0.1;
        option subnet-mask              255.255.224.0;
        option domain-name              "videoegg.com sacda.videoegg.com";
          range                           172.17.8.0 172.17.8.255;
        ddns-updates                    on;
        ddns-domainname                 "xxxxx.videoegg.com.";
        ddns-rev-domainname             "in-addr.arpa";
    }

And we would like something like this:

subnet 172.17.0.0 netmask 255.255.224.0 {
        option routers                  172.17.0.1;
        option subnet-mask              255.255.224.0;
        option domain-name              "videoegg.com sacda.videoegg.com";
        #range dynamic-bootp            172.17.31.230 172.17.31.250;
        range                           172.17.8.0 172.17.8.255;
        ddns-updates                    on;
        ddns-domainname                 "xxxxx.videoegg.com.";
        ddns-domainname                 "yyyyy.videoegg.com.";
        ddns-rev-domainname             "in-addr.arpa";
}

It seems like the way to do accomplish this is with the dhcpd class "<classname"> match if {...} syntax - can anyone point me to some documentation, or proffer some assistance?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100429/dda7e68f/attachment.html>


More information about the dhcp-users mailing list