Blacklist only one MAC address - rest should stay the same

Hey,

I want to blacklist only one certain MAC address from getting an IP.

I read that I have to add it to the /etc/dnsmasq.d/03-custom-DHCP.conf which I did:

dhcp-host=50:55:55:55:55:66,ignore

and then do:

pihole restartdns

At first it seemed to work and now, about 1-2 days later that client suddenly got an IP address! (This almost killed my hacked Amazon Dash Button...)

I can't seem to find reliable info on how to do this? :confused:

Thanks a bunch!!

Patrick

I now read that I should put this into the /etc/dnsmasq.d/10-local.conf instead of the 03? Does that make sense?

Any file name works.

1 Like

Preventing that device to get an IP may not be the only or best option to achieve what you want.

It may help if you would explain your motivation and your goal behind this.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.