[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dhcp & dynamic dnd updates



Hi folk.

Can I update slave zone on my dns server from dhcp server?
Now I have next problem:
...
dhcpd: Unable to add forward map from node1.test.local.net to
 192.168.1.30: timed out
...
My dhcp server locate on one comp and dns server on another comp.

dhcpd.conf:
-----------
ddns-update-style interim;

key DHCP_UPDATER {
  algorithm HMAC-MD5.SIG-ALG.REG.INT;
  secret here-some-secret;
}

    zone test.local.net. {
      primary 192.168.1.100;
      key DHCP_UPDATER;
    }

    zone 1.168.192.in-addr.arpa. {
      primary 192.168.1.100;
      key DHCP_UPDATER;
    }
option domain-name "test.local.net";
option domain-name-servers 192.168.1.100;

default-lease-time 3000;
max-lease-time 7200;

authoritative;

subnet 192.168.1.0 netmask 255.255.255.0 {

  option broadcast-address 192.168.1.255;
  option routers 192.168.1.100;

  pool {
    range 192.168.1.1 192.168.1.20;
    deny unknown-clients;
  }
  pool {
    max-lease-time 3000;
    range 192.168.1.21 192.168.1.30;
    allow unknown-clients;
  }

}
----------

named.conf:
-----------
...
key DHCP_UPDATER { algorithm HMAC-MD5.SIG-ALG.REG.INT; secret "here-some-secret"; }; zone "test.local.net" {
        type slave;
        file "/etc/bind/test.local.net";
        masters {
                192.168.1.101;
        };
        allow-update { key DHCP_UPDATER; };
};

zone "1.168.192.in-addr.arpa" {
        type slave;
        file "/etc/bind/test.local.net.rev";
        masters {
                192.168.1.101;
        };
        allow-update { key DHCP_UPDATER; };
};
...
---------

bind is 8.3.3-2.0woody
dhcp is 3.0.1-1

I cannot access to master dns server.

Othe question: what means "unknown-clients". I specially divide into
two parts my IP addresses. And I see that my dhcp-clients have only
IP from "unknown-clients" diapason.

Thanx.
----
http://rabota.alkar.net/



Reply to: