Per Device DNS?

Hi, I was wanting to have specific devices that I will setup a static entry for having its own DNS separate to other devices on the network.

Is this possible and if it is how would I go about doing this please?

So what I mean by this, for every device on my network I would like as my DNS except for 3 devices on my network I would want something different for its DNS eg as my DNS for those 3 alone

Hi @anth , you just adjust the device you want to with the DNS if the device is a windows or a Linux system, mac i don’t know,and android you can’t, at least I don’t know how.

Best regards


1 Like

Hi Anthony,
I assume you are using DHCP?

I found it is possible to manually create a customised lease for these hosts in /var/ipfire/dhcp/dhcpd.conf.local:

host foobar {
  option domain-name-servers;
  hardware ethernet AA:BB:CC:DD:EE:FF;

You can also assign a static IP by adding fixed-address; to the host entry.

Further reading: