[Dnsmasq-discuss] multiple upstream servers

Dan Schaper dan.schaper at pi-hole.net
Wed Jul 29 21:03:05 BST 2020


dhcp-host=00:a1:b0:08:61:67,floater,set:red,192.168.13.109

> The set:<tag> construct sets the tag whenever this *--dhcp-host*
> directive is in use. This can be used to selectively send DHCP options
> just for this host. More than one tag can be set in a *--dhcp-host*
> directive (but not in other places where "set:<tag>" is allowed). When
> a host matches any *--dhcp-host* directive (or one implied by
> /etc/ethers) then the special tag "known" is set. This allows dnsmasq
> to be configured to ignore requests from unknown machines using
> *--dhcp-ignore=tag:!known* If the host matches only a *--dhcp-host*
> directive which cannot be used because it specifies an address on
> different subnet, the tag "known-othernet" is set.
>
> The tag:<tag> construct filters which dhcp-host directives are used.
> Tagged directives are used in preference to untagged ones.
>


S Irlapati wrote on 7/29/2020 11:40 AM:
> Thanks for the quick reply.
>
> On 7/29/2020 1:02 PM, Daryl Richards wrote:
>>
>> The proper syntax on the dhcp-host lines is 'set:red' and 'set:green'
>> to set the tags that you then use on the options..
>>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200729/314d44b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4056 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200729/314d44b1/attachment.bin>


More information about the Dnsmasq-discuss mailing list