Why don't you try with pools? Put all the people who you want to refresh their DNS resolutions in one pool, and all the others in other pool. Do all the validations you need, and I think that's all!<br>For example:<br>
<br>pool 1<br>{<br>host 1<br>host 2<br>blah, blah<br><b>refresh DNS</b><br>}<br><br>pool 2<br>{<br>host 1<br>
host 2<br>
blah, blah<br>
<b>DO NOTrefresh DNS</b><br>}<br><br>2012/5/2 Tom Schmitt <span dir="ltr"><<a href="mailto:TomSchmitt@gmx.de" target="_blank">TomSchmitt@gmx.de</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
my dhcpd is sending DNS-updates to the DNS server when a lease is given to a dhcp client with the name the dhcp client is providing.<br>
<br>
Now I want this only if the name is following a given pattern, something like:<br>
<br>
if($clientname=~/^[A-Za-z]{4}\d{4}$/) {<br>
     send_dns_update;<br>
}<br>
else {<br>
     dont_send_a_dns_update;<br>
}<br>
<br>
Can anyone tell me, what the syntax is to configure this on a global scope in dhcpd.conf?<br>
<br>
Or a link where the syntax is explained?<br>
<br>
Thanks,<br>
Tom.<br>
<span class="HOEnZb"><font color="#888888">--<br>
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!<br>
Jetzt informieren: <a href="http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a" target="_blank">http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a</a><br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Saludos<br><br><font size="4"><b>Héctor Herrera Anabalón</b></font><br><div>Egresado ICCI UNAP<br>Soporte IT en CNN Chile <br></div><div>Miembro USoLIX Victoria<br>
Registered User #<span>548600 (</span><span>LinuxCounter.net)</span><br>+56983118902<br><span><br></span></div><br>