Different DNS server for each class of device

red1 red red1dhcp at gmail.com
Sun Apr 4 08:39:53 UTC 2010


Tanks Simon

It's working fine!!
regards

On Fri, Apr 2, 2010 at 9:35 PM, Simon Hobson <dhcp1 at thehobsons.co.uk> wrote:

> red1 red wrote:
>
> 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)
>>
>
> 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 :
>
> option domain-name-servers s.t.u.v, w.x.y.z ;
> class "vendor1" {
>  match if substring(hardware,1,3)=aa:bb:cc ;
>  option domain-name-servers a.b.c.d, e.f.g.h ;
> }
>
>
> --
> Simon Hobson
>
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20100404/2dacc7f8/attachment.html>


More information about the dhcp-users mailing list