dhcpd creating corrupt DNS entries via DDNS

Neff, Glen glen.neff at emc.com
Thu May 30 20:52:16 UTC 2013


> I do this to control invalid character on my dhcpd.conf (dhcpd version > 4 for ~~):
> 
> if not (option host-name ~~ "^[-_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]+$") {
>   log (info, "DEBUG: DDNS name invalid! Not added to DDNS.");
>   ddns-updates off;
> }

This sounds promising.  I did start perusing dhcp-eval(5), but it's long on syntax and short on a starting point.

Would you place this syntax after a 'ddns-updates on;' declaration?

-G

/*
 * Glen R. J. Neff
 * USD Lab Operations Infrastructure Team
 * glen.neff at emc.com
 *
 * EMC^2 == E^2
 */
________________________________________
From: dhcp-users-bounces+glen.neff=emc.com at lists.isc.org [dhcp-users-bounces+glen.neff=emc.com at lists.isc.org] On Behalf Of Denis Laventure [Denis_Laventure at uqac.ca]
Sent: Thursday, May 30, 2013 4:41 PM
To: Users of ISC DHCP
Subject: RE: dhcpd creating corrupt DNS entries via DDNS

I do this to control invalid character on my dhcpd.conf (dhcpd version > 4 for ~~):

if not (option host-name ~~ "^[-_0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]+$") {
  log (info, "DEBUG: DDNS name invalid! Not added to DDNS.");
  ddns-updates off;
}

Denis Laventure

-----Message d'origine-----
De : dhcp-users-bounces+denis_laventure=uqac.ca at lists.isc.org [mailto:dhcp-users-bounces+denis_laventure=uqac.ca at lists.isc.org] De la part de Neff, Glen
Envoyé : 30 mai 2013 16:12
À : Users of ISC DHCP
Objet : RE: dhcpd creating corrupt DNS entries via DDNS

> > Anyone on the list have any ideas on how to prevent dhcpd from accepting invalid hostnames and/or passing them along to bind?  Or preventing bind from accepting them?

> Why do you care?   As soon as they fix the bug in their client script, the problem will go away.

~20,000 developers & testers on four continents. . . it or something similar will happen again.

-G

/*
 * Glen R. J. Neff
 * USD Lab Operations Infrastructure Team
 * glen.neff at emc.com
 *
 * EMC^2 == E^2
 */
_______________________________________________
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



More information about the dhcp-users mailing list