We help IT Professionals succeed at work.
Get Started

Dynamic update of Bind from windows clients

roncioiu asked
Last Modified: 2012-06-27
I know this question has been asked before, and I have read and tried to follow numerous how-to's on the internet and some from here as well; however, I can not get windows clients to update the bind server zones.

I setup dhcp on the server , and I see clients grabbing ip's all the time, however I do not see those ip's registered in the bind zones.

All the files in the /bind directory are owned by bind:bind with permissions of 644


key "rndc-key" {
        algorithm hmac-md5;
        secret "xxxxxxxxxxxxxxxxxxx";

ddns-updates      on;
ddns-update-style interim;
ddns-domainname      "foo.local";
ddns-rev-domainname "in-addr.arpa.";
allow client-updates;

# Normal DHCP stuff
option domain-name      "foo.local.";
option domain-name-servers,;
option ntp-servers
option ip-forwarding      off;
default-lease-time      600;
max-lease-time      7200;      

subnet netmask {
      range  ;
      option broadcast-address;
      option routers  ;
      allow            unknown-clients;
      ddns-domainname "foo.local";
      ddns-rev-domainname      "0.168.192.in-addr.arpa";

      zone      0.168.192.in-addr.arpa. {
            key      rndc-key;
      zone      foo.local. {
            key      rndc-key;


key "rndc-key" {
        algorithm hmac-md5;
        secret "xxxxxxxxxxxxxxxxxxx";

acl "foo.local" {;;

      directory "/etc/bind/";
      listen-on port 53 {; };
      allow-query { "foo.local"; };
      forwarders {;; };
      pid-file "/var/run/named/named.pid";
      allow-recursion { foo.local; };
      dnssec-enable      yes;
      version none;

controls {
      inet port 953
      allow {;; } keys { "rndc-key"; };

zone "." {
      type hint;
      file "db.root";

zone "foo.local" {
      type master;
      file "/etc/bind/db.Server.foo";
      allow-update { key rndc-key; };
      notify yes;
      journal "/var/lib/bind/foo.local.jnl";

zone "0.168.192.in-addr.arpa" {
      type master;
      file "/etc/bind/db.0.168.192.in-addr.arpa";
      allow-update { key rndc-key; };
      notify no;
      journal "/var/lib/bind/0.168.192.in-addr.arpa.jnl";

zone "127.in-addr.arpa" {
             type master;
             file "/etc/bind/db.127";
             allow-update { none; };

zone "0.in-addr.arpa" {
             type master;
             file "/etc/bind/db.0";
             allow-update { none; };

zone "255.in-addr.arpa" {
             type master;
             file "/etc/bind/db.255";
             allow-update { none; };


Can someone point me in the right direction? What am I doing wrong.
Watch Question
Distinguished Expert 2020
This problem has been solved!
Unlock 2 Answers and 9 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE