[ previous ] [ next ] [ threads ]
 
 From:  "Eric Faden" <m0n0wall at TechEminence dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Dynamic DNS Updates?
 Date:  Wed, 22 Dec 2004 16:34:01 -0500
Is there any way to have m0n0wall's DHCPd server do 
dynamic DNS updates to a DNS server?  Basically I want my 
dhcpd config to look like:

<BEGIN CONFIG>

ddns-update-style interim;
ddns-ttl 86400; # 24 Hours

option domain-name "<My Internal Domain>";
option domain-name-servers <My DNS Servers>;

key DHCPKey {
         algorithm hmac-md5;
         secret <Some Stuff>;
}

zone 0.168.192.in-addr.arpa. {
         primary 209.190.239.50;
         key DHCPKey;
}

zone <My Internal Domain>. {
         primary 209.190.239.50;
         key DHCPKey;
}

subnet 192.168.0.0 netmask 255.255.255.0 {
         option subnet-mask 255.255.255.0;
         option routers 192.168.0.1;

         option domain-name "<My Internal Domain>";
         option domain-name-servers <My DNS Servers>;

         default-lease-time 86400; # 24 Hours
         max-lease-time 86401; # 24 Hours

         # Dynamic DNS
         ddns-updates on;
         ddns-domainname "<My Internal Domain>";
         ddns-rev-domainname "0.168.192.in-addr.arpa";
         ddns-hostname = pick-first-value(ddns-hostname, 
option host-name);

         do-forward-updates on;
         ignore client-updates;
         option fqdn.no-client-update on;

....

Host Defs ....

....


}

<END CONFIG>

Is this possible to do with m0n0wall?

-Eric