R: DNS dynamic update with DHCPD 3.1.3

Autuori Gianluigi Autuori.Gianluigi.Wintime at ansaldobreda.it
Thu Jan 7 08:15:46 UTC 2010


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.org] 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.

--
Simon Hobson

Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books.
_______________________________________________
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.




More information about the dhcp-users mailing list