[Kea-users] Suppress DDNS for reservations

Thomas Markwalder tmark at isc.org
Wed Mar 9 15:57:48 UTC 2022


While perhaps not ideal, if you have control over what the static 
clients send in their DHCP requests, having them send an FQDN option 
with the N-S flags to N=1, S=0 would tell the server to not do any 
updates.  See this section:

https://kea.readthedocs.io/en/latest/arm/dhcp4-srv.html#when-does-the-kea-dhcp4-server-generate-a-ddns-request



On 3/9/22 09:50, Frey, Rick E wrote:
>
> I first wondered if something could be done in a class but as you 
> mention, docs indicate that ddns-send-updates directive is limited to 
> subnet as lowest level so doesn’t look there is much options in 
> current Kea config.
>
> Other options:
>
>   * Have clients with host reservation set option 81 bits to disable
>     DDNS updates.
>   * Prevent DDNS updates on DNS server for specified zones/names.  
>     Not sure what nameserver you’re using but BIND can be configured
>     to prevent DDNS updates at individual name level if needed.
>
> *From: *Kea-users <kea-users-bounces at lists.isc.org> on behalf of 
> Francis Dupont <fdupont at isc.org>
> *Date: *Wednesday, March 9, 2022 at 5:05 AM
> *To: *Kenneth Porter <shiva at sewingwitch.com>
> *Cc: *Kea users <kea-users at lists.isc.org>
> *Subject: *Re: [Kea-users] Suppress DDNS for reservations
>
> CAUTION: This email originated from outside of the organization. Do 
> not click links or open attachments unless you recognize the sender 
> and know the content is safe.
>
>
> Kenneth Porter writes:
> > I've enabled DDNS for my subnet but I don't want it used for 
> reservations,
> > only for the pool. The DNS entries for reservations are manually 
> entered in
> > my DNS in a higher-level domain. (The pool is entered in the "dhcp"
> > subdomain which allows updates.)
> >
> > My subnet is a /16 and the pool is a specific /24 of that. Other 
> /24's are
> > used for specific functions, including the gateway. So I can't just 
> put the
> > pool in its own subnet or it will get the wrong mask and won't be 
> able to
> > reach the gateway.
> >
> > I can't use ddns-send-updates set to false in a reservation. It only 
> works
> > in a subnet declaration or at global scope.
> >
> > What am I missing?
>
> => I suggest to try a shared network with two subnets covering the same
> range but with different textual representations (e.g. put ...1 in the
> second).
>
> Thanks
>
> Francis Dupont <fdupont at isc.org>
> --
> ISC funds the development of this software with paid support 
> subscriptions. Contact us at 
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BCg0BuM1emxs%2FHBQi0oGjWRLHFEl9%2BL67lF4ccvq7gQ%3D&reserved=0 
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.isc.org%2Fcontact%2F&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2BCg0BuM1emxs%2FHBQi0oGjWRLHFEl9%2BL67lF4ccvq7gQ%3D&reserved=0> 
> for more information.
>
> To unsubscribe visit 
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FqaethbUQi6eNw9Fy9Yr7GZjFltPnb94xl4BR%2B%2F%2FcAQ%3D&reserved=0 
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FqaethbUQi6eNw9Fy9Yr7GZjFltPnb94xl4BR%2B%2F%2FcAQ%3D&reserved=0>.
>
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FqaethbUQi6eNw9Fy9Yr7GZjFltPnb94xl4BR%2B%2F%2FcAQ%3D&reserved=0 
> <https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.isc.org%2Fmailman%2Flistinfo%2Fkea-users&data=04%7C01%7Crick.frey%40windstream.com%7C504617dd07214ae2597008da01bcae05%7C2567b4c1b0ed40f5aee358d7c5f3e2b2%7C0%7C0%7C637824207142398650%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=%2FqaethbUQi6eNw9Fy9Yr7GZjFltPnb94xl4BR%2B%2F%2FcAQ%3D&reserved=0>
>
>
> Sensitivity: Internal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20220309/08c53bf4/attachment-0001.htm>


More information about the Kea-users mailing list