[Dnsmasq-discuss] "Black-holing" local machines

Niels Basjes dnsmasq at basjes.nl
Thu Mar 18 11:26:10 GMT 2010


Hi,

Checkout the special network-id tag "known"
By labeling options with    "known"  they are only used for the hosts
that are known to dnsmasq.
By labeling options with    "#known"  they are only used for the hosts
that are NOT known to dnsmasq.

Niels


2010/3/18 Rory Campbell-Lange <rory at campbell-lange.net>:
> I would like to configure dnsmasq to send machines whose MAC addresses
> aren't specified in the configuration file to a "blackhole" subnet, so
> that they can't easily route to the internet, or stop them getting an ip
> address at all.
>
> If I used *:*:*:*:*:* as the MAC identifier, would "ignore" be the way
> of doing this?
>
>    # Never offer DHCP service to a machine whose
>    # ethernet address is 11:22:33:44:55:66
>    #dhcp-host=11:22:33:44:55:66,ignore
>
> I'm anxious to ensure that the machines with MAC addresses provided
> should still receive their ip addresses, however.
>
> Advice gratefully received.
>
> Thanks,
> Rory
>
> --
> Rory Campbell-Lange
> rory at campbell-lange.net
>
> Campbell-Lange Workshop
> www.campbell-lange.net
> 0207 6311 555
> 3 Tottenham Street London W1T 2AF
> Registered in England No. 04551928
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



-- 
Met vriendelijke groeten,

Niels Basjes



More information about the Dnsmasq-discuss mailing list