<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFCC" text="#000000">
<br>
<div class="moz-cite-prefix">On 27/02/13 14:31, Glenn Satchell
wrote:<br>
</div>
<blockquote
cite="mid:cb5dcccf07df48721babc7ff93369f12.squirrel@mail.uniq.com.au"
type="cite">
<pre wrap="">In terms of the configuration language it is certainly possible.
class "example-com" {
match if option fqdn.domainname = "example.com";
}
However, you may need to do a simple packet capture to check that your
clients actually send that option in the DHCPDISCOVER packet. If it isn't
there then the server can't make the decision about what to offer.</pre>
</blockquote>
You could have a pool for non class members only. That might be
easier to pick up then.<br>
<blockquote
cite="mid:cb5dcccf07df48721babc7ff93369f12.squirrel@mail.uniq.com.au"
type="cite">
<pre wrap="">
regards,
-glenn
On Wed, February 27, 2013 8:50 pm, Niall O'Reilly wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
On 27 Feb 2013, at 02:24, VithalPrasad Gaitonde wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Can one configure the ISC DHCP server to define class(es) of clients
based on the DNS domain sent in option 81 by the client.
</pre>
</blockquote>
<pre wrap="">
I haven't tried that, but I'ld be surprised if it couldn't be done;
the man pages for dhcpd.conf and dhcp-eval seem to contain the
information you need.
That said, I would ask two more basic questions:
1. Can one depend on the client to set option 81?
2. Can one trust the client not to spoof a "more attractive" DNS
domain name than the "legitimate" one?
Good luck!
</pre>
<blockquote type="cite">
<pre wrap="">Can you then use this class to set options and specific IP range for
such a class of clients.
</pre>
</blockquote>
<pre wrap="">
Surely.
IHTH
Niall O'Reilly
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
<pre wrap="">
_______________________________________________
dhcp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>