R: R: R: DNS dynamic update with DHCPD 3.1.3

Autuori Gianluigi Autuori.Gianluigi.Wintime at ansaldobreda.it
Thu Jan 7 14:52:51 UTC 2010


here are my files... 

-----Messaggio originale-----
Da: dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.org [mailto:dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.org] Per conto di Glenn Satchell
Inviato: giovedì 7 gennaio 2010 15.46
A: dhcp-users at lists.isc.org
Oggetto: Re: R: R: DNS dynamic update with DHCPD 3.1.3

Hmm, I forget the order of updates, but it might try to do the update to the in-addr.arpa zone before the localtrain zone. Do you have entries for the in-addr.arpa zones in dhcpd.conf and named.conf?

You'll need to add logging to bind to get more information. All dhcpd will get is a timeout because bind ignores the request.

regards,
-glenn

>Date: Thu, 7 Jan 2010 14:30:48 +0100
>From: "Autuori Gianluigi" <Autuori.Gianluigi.Wintime at ansaldobreda.it>
>
>in dhcpd.log i find this
>dhcpd: Unable to add forward map from OEM-HE9IZ08G3GB.localtrain to 10.10.1.21: 
bad DNS key 
>
>-----Messaggio originale-----
>Da: 
>dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.
>org
[mailto:dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.o
rg] Per conto di Glenn Satchell
>Inviato: giovedì 7 gennaio 2010 12.23
>A: dhcp-users at lists.isc.org
>Oggetto: Re: R: DNS dynamic update with DHCPD 3.1.3
>
>
>>Date: Thu, 7 Jan 2010 09:15:46 +0100
>>From: "Autuori Gianluigi" <Autuori.Gianluigi.Wintime at ansaldobreda.it>
>>
>>Thank you,
>>these are lines of my dhcpd.conf
>>
>>ddns-update-style interim;
>>
>>key DHCP_UPDATER {
>>    algorithm hmac-md5;
>>    secret pRP5FapFoJ95JEL06sv4PQ==;
>>};
>>
>>zone localtrain. {
>>    primary 127.0.0.1;
>>    key DHCP_UPDATER;    
>>}
>>
>>update-static-leases on;
>>
>>
>>and these one from named.conf.local
>>
>>key DHCP_UPDATER {
>>    algorithm hmac-md5;
>>    secret pRP5FapFoJ95JEL06sv4PQ==;
>>};
>>
>>zone "localtrain" {
>>    type master;
>>    file "/etc/bind/db.train.com";
>>    allow-update { key DHCP_UPDATER; }; };
>>
>>after then I restarted dhcpd and bind9 but db.train.com doesn't change.
>>
>>what is wrong?
>>
>>-----Messaggio originale-----
>>Da: 
>>dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.
>>org
>[mailto:dhcp-users-bounces+autuori.gianluigi.wintime=ansaldobreda.it at lists.isc.
o
>rg] Per conto di Simon Hobson
>>Inviato: martedì 5 gennaio 2010 15.37
>>A: Users of ISC DHCP
>>Oggetto: Re: DNS dynamic update with DHCPD 3.1.3
>>
>>Autuori Gianluigi wrote:
>>>I configured dhcp server and now I want to update database of dns
>>>(BIND9) every time dhcp server assigns an ip to  new device.
>>>how can I do it?
>>
>>Start with 'man dhcpd.conf' and see the section on dynamic DNS 
>>updating. It's
>quite easy to set up - but be careful about the subtle differences in 
>use of
quotes between dpcdp and bind.
>>
>>If, when you've read the man pages, there is anything you don't 
>>understand, or
>if it's not working properly, then pop back here and we'll be happy to help.
>>
>
>The syntax you have included seems to be ok.
>
>Ok, a few things to try:
>
>Did you restart bind and dhcpd after updating the files? Were there any
warnings or errors from the startup?
>
>If you use nsupdate and that key can you update the zone file?  If so 
>then this
eliminates the key and the update mechanism.
>
>Turn on logging for bind to see if there are any updates coming through 
>and
being dropped. By default bind will silently ignore any updates if there is something not right in the configuration
>
>Is there anything in the dhcp syslog output indicating an attempt at 
>updating
DNS?
>
>The key you included is from the dhcpd.conf file. I am not sure if that 
>is a
valid key, so you may want to generate a new key.
>
>Usually it is something "odd" about your environment that causes problems. 
Typically this should "just work".
>
>regards,
>-glenn
>
>_______________________________________________
>dhcp-users mailing list
>dhcp-users at lists.isc.org
>https://lists.isc.org/mailman/listinfo/dhcp-users
>
>
>
>-----------------------------------------------------------------------
>--------
-
>Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' 
avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'
>ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste 
>il
destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o telefono e di cancellare il presente messaggio e ogni eventuale allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel messaggio e nei relativi allegati. 
>
>This e-mail and any file transmitted with it may contain material that 
>is
confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient of this e-mail, please do not read it, notify us immediately by e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.
>Considering the means of transmission, we do not undertake any 
>liability with
respect to the secrecy and confidentiality of the information contained in this e-mail and its attachments.
>
>_______________________________________________
>dhcp-users mailing list
>dhcp-users at lists.isc.org
>https://lists.isc.org/mailman/listinfo/dhcp-users
>

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users



--------------------------------------------------------------------------------
Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'
ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste il destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o telefono e di cancellare il presente messaggio e ogni eventuale allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel messaggio e nei relativi allegati. 

This e-mail and any file transmitted with it may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient of this e-mail, please do not read it, notify us immediately by e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.
Considering the means of transmission, we do not undertake any liability with respect to the secrecy and confidentiality of the information contained in this e-mail and its attachments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: named.conf.local
Type: application/octet-stream
Size: 402 bytes
Desc: named.conf.local
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100107/54d74182/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: named.conf
Type: application/octet-stream
Size: 1449 bytes
Desc: named.conf
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100107/54d74182/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: db.train.com
Type: application/octet-stream
Size: 294 bytes
Desc: db.train.com
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100107/54d74182/attachment-0002.obj>


More information about the dhcp-users mailing list