>>>>> "Kyle" == Kyle  <k...@attitia.com> writes:

Kyle>   John, Answers inline.

Kyle> ------------------------------------------------------------------------
Kyle> Kind Regards

Kyle> Kyle


Kyle> On 17/02/11 2:00 PM, John Clarke wrote:
>> Are you having problems updating the A record or the PTR record, or
>> both?
Kyle> ## Both. DHCP is simply not updating DNS journals when a lease
Kyle> is renewed.

I strongly suspect that the key setup is incorrect.  

Take a look in /etc/bind/your-key-file

It should look like
key "DHCP_updater" {
        algorithm hmac-md5;
        secret "longstringofcharactersendingin==";
};

(this is the one referred to in /etc/dhcp3/dhcpd.conf with

include "/etc/bind/your_key_file"

)

And in /etc/bind/named.conf you should have:

include "/etc/bind/your_key_file"

and 

controls {
         inet 127.0.0.1 port 953
         allow { 127.0.0.1;} keys { "DHCP_updater"; ... };
};


And again in each zone statement:

zone "domain.com" in {
     type master;
     file "/etc/bind/domain.zone";
     allow-update { key DHCP_updater;
     };
};

or similar.

If the name of the key isn't the same, or you're including different
keyfiles, it will fail because of an authorisation problem.

Peter C
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to