Send dhcp-users mailing list submissions to dhcp-users@lists.isc.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.isc.org/mailman/listinfo/dhcp-users or, via email, send a message with subject or body 'help' to dhcp-users-requ...@lists.isc.org You can reach the person managing the list at dhcp-users-ow...@lists.isc.org When replying, please edit your Subject line so it is more specific than "Re: Contents of dhcp-users digest..." Today's Topics: 1. DDNS updates for secondary DNS server (Kraishak Mahtha) 2. Re: DDNS updates for secondary DNS server (glenn.satch...@uniq.com.au) 3. Re: DDNS updates for secondary DNS server (kraishak) ---------------------------------------------------------------------- Message: 1 Date: Tue, 27 Apr 2021 13:03:50 +0530 From: Kraishak Mahtha <kraishak....@gmail.com> To: dhcp-users@lists.isc.org Subject: DDNS updates for secondary DNS server Message-ID: <caddat84ab-340fjpnrkog50p_atpdbym0kdwxxmy72-9ust...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi All, zone example.com. { primary 192.168.0.45; secondary 192.168.0.47; } I have noticed that DHCP is not sending any DDNS updates to the secondary DNS server(192.168.0.47) of the zone when the primary is down for some reason, is this the expected behavior? Getting below error Unable to add forward map from n54c5-000001.example.com to 192.168.0.86: NOTIMP Does any one have any idea/experience of DDNS flow when primary DNS server is down Thanks in Advance Kraishak -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20210427/de30b697/attachment-0001.htm> ------------------------------ Message: 2 Date: Tue, 27 Apr 2021 18:06:11 +1000 From: glenn.satch...@uniq.com.au To: Users of ISC DHCP <dhcp-users@lists.isc.org> Subject: Re: DDNS updates for secondary DNS server Message-ID: <d4a99ac500aefa152638dbdf04862...@uniq.com.au> Content-Type: text/plain; charset=US-ASCII; format=flowed Hi Kraishak My understanding is that each time the DHCP server renews a lease it will try to update the DNS server if the record does not exist. So this could take some time to catch up if the DNS server is down. I don't think it tries to ever update the secondary - this is the job of the primary. For this reason a lot of sites implement the dhcp server on the same box as the dns server. Also looks like something in your DNS config may not be quite right. In dhcp your primary is 192.168.0.45, but it is trying to update 192.168.0.86 and gets an error. Can you check through both the dhcp and dns configuration to see if you mention 192.168.0.86 anywhere? regards, Glenn On 2021-04-27 17:33, Kraishak Mahtha wrote: > Hi All, > > zone example.com [1]. > { > primary 192.168.0.45; > secondary 192.168.0.47; > } > I have noticed that DHCP is not sending any DDNS updates to the > secondary DNS server(192.168.0.47) of the zone when the primary is > down for some reason, is this the expected behavior? > > Getting below error > Unable to add forward map from n54c5-000001.example.com [2] to > 192.168.0.86 [3]: NOTIMP > > Does any one have any idea/experience of DDNS flow when primary DNS > server is down > > Thanks in Advance > Kraishak > > > Links: > ------ > [1] http://example.com > [2] http://n54c5-000001.example.com > [3] http://192.168.0.86 > _______________________________________________ > ISC funds the development of this software with paid support > subscriptions. Contact us at https://www.isc.org/contact/ for more > information. > > dhcp-users mailing list > dhcp-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ Message: 3 Date: Tue, 27 Apr 2021 04:30:01 -0500 (CDT) From: kraishak <kraishak....@gmail.com> To: dhcp-users@lists.isc.org Subject: Re: DDNS updates for secondary DNS server Message-ID: <1619515801323-0.p...@n4.nabble.com> Content-Type: text/plain; charset=us-ascii Hi Glenn Thanks for reply, zone example.com. { primary 192.168.0.45; secondary 192.168.0.47; } I don't, think it tries to ever update the secondary -----> So in a sample zone section adding secondary statement is of no significant even if we add the valid secondary DNS server it will send updated only to primary and if primary is down it will throw exceptions unable to add forward/reverse map but it won't use the secondary server definition from the zone section in dhcpd.conf, Please correct me if I am wrong. Also looks like something in your DNS config may not be quite right. In dhcp your primary is 192.168.0.45, but it is trying to update 192.168.0.86 and gets an error. ----> 192.168.0.86 was the client IP which the DHCP server gave to the client from scope range In a valid case when the primary is up, I am getting messages like below Added new forward map from n0001-000001.example.com to 192.168.0.97 where 192.168.0.97 was the client IP so I guess it is not issue with config Thanks Kraishak -- Sent from: http://isc-dhcp-users.2343191.n4.nabble.com/ ------------------------------ Subject: Digest Footer _______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list dhcp-users@lists.isc.org https://lists.isc.org/mailman/listinfo/dhcp-users ------------------------------ End of dhcp-users Digest, Vol 150, Issue 8 ******************************************