<div dir="ltr"><div>Tanks Simon</div>
<div> </div>
<div>It's working fine!!</div>
<div>regards<br><br></div>
<div class="gmail_quote">On Fri, Apr 2, 2010 at 9:35 PM, Simon Hobson <span dir="ltr"><<a href="mailto:dhcp1@thehobsons.co.uk">dhcp1@thehobsons.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">red1 red wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I would like to configure my DHCP server to serve different DNS IP depend on mac address of the client device (dns server for each client device vendor)<br>
</blockquote><br></div>Probably the simplest method is define a class to match each type of client, and specify the DNS servers in there. Along these lines - check the man pages for correct syntax :<br><br>option domain-name-servers s.t.u.v, w.x.y.z ;<br>
class "vendor1" {<br> match if substring(hardware,1,3)=aa:bb:cc ;<br> option domain-name-servers a.b.c.d, e.f.g.h ;<br>}<br><br><br>-- <br>Simon Hobson<br><br>Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>Christmas stocking fillers. Some available as e-books.<br>_______________________________________________<br>dhcp-users mailing list<br><a href="mailto:dhcp-users@lists.isc.org" target="_blank">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></blockquote></div><br></div>