AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

DHCP: Specify the list of DNS servers

Open NinjDS opened this issue 1 year ago • 4 comments

Prerequisites

  • [x] I have checked the Wiki and Discussions and found no answer

  • [x] I have searched other issues and found no duplicates

  • [x] I want to request a feature or enhancement and not ask a question

The problem

Currently, when using AdGuard DHCP, the DNS servers are automatically set to the DHCP server's IP. Twice.

On a simple (and usually weak) home architecture, relying only on the DNS of an home automation mini PC is dangerous for the whole network, potentially also preventing the cloud alarm to notify the user.

Proposed solution

For better reliability of the network (surviving a short crash or reboot of the machine hosting AdGuard), additional DNS should be possible to list through DHCP.

AdGuard protection would then be inactive for this moment, this is important to note, but a warning and a checkbox would make the administrator responsible for this choice.

Alternatives considered and additional information

Would be very useful when, as it is the case for me, AdGuards primary use on a server is not the protection but the DHCP+DNS features.

NinjDS avatar Jul 28 '25 20:07 NinjDS

PS : I did really search in issues and found nothing close enough, but there are 1100+ issues, I'm sorry if I missed the one.

NinjDS avatar Jul 28 '25 20:07 NinjDS

I moved my answer here, could be a good solution for you.

get-loose avatar Aug 20 '25 18:08 get-loose

Hi, thank you. However, tell me if I'm wrong but I don't think I can do that on HAOS with the AdGuard AddOn. I cannot find the YAML file, or can I?

NinjDS avatar Aug 27 '25 09:08 NinjDS

I'm sorry to insist...

I use Home Assistant OS, so I have quite a limited access to addon configuration files, if any. For users like me, not able to maintain a full installation with containers and such, HAOS is perfect, but in my case, I'd really like to know if I have any chance to edit the DNS IPs list that the DHCP serves, please.

Thank you

NinjDS avatar Jan 04 '26 17:01 NinjDS