Class match and known

David W. Hankins dhankins at isc.org
Fri Mar 19 19:16:13 UTC 2010


On Fri, Mar 19, 2010 at 09:11:33AM +0100, Andre Schubert wrote:
> Ok, what i want is a class that is matched if the client is known.

Sorry, that won't work.  :(

Class matching is unfortunately done in a stage of processing
prior to host record lookups (when the known bit is conditionally
set if a host record is found).

Can you describe more abstractly the input/output or consequence
you are trying for?  I am going to guess that you want the class
record to carry some information for the group of host records?

In this case, you can simply use a group {} statement surrounding
the host records so that they all inherit the same configuration
value;

  group {
    option domain-name "eng.example.com";
    option domain-search "example.com", "eng.example.com";

    host a {
      hardware ethernet 00:1e:69:a9:c6:05;
      fixed-address 10.0.5.250;
    }
    host b ...
  }

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100319/3a261142/attachment.bin>


More information about the dhcp-users mailing list