Adguard home assistant12/20/2023 ![]() ![]() As I’m rather proud of them I’m republishing the guide here. Meaning every time we ask the round-robin load balancing will give us a different result as seen in the sensor history.I’ve written this guide for the documentation pages of the Home Assistant iOS companion app. We don’t care what the dnsip is having as value, since for example with the it will loadbalance over its two A records, what we care about is the “unknown” value which would indicate our dns is not resolving. This is only in my case, if you resolve locally (unbound, etc…), you might want to use a public domain like: - platform: dnsipĮlse, set up a custom domain, as such: Setting up a custom reply on a domain (don’t pick something you actually browse to) The sensor values If you take a public domain and your upstream goes down it will reboot the instance (a reboot won’t fix this).If you take a public domain and your internet “dies” it will reboot the instance (unneeded). ![]() The reason you want a local resolved address is because: You can take a public domain, but I advise to use a custom domain setup in your DNS resolver to always reply the same IP. The first thing we want to do is to setup a DNS sensor, this can be done with the dnsip sensor integration sensor:īy default it refreshes the DNS resolve results every 120 seconds, that would be a bit long if DNS goes down so I reduced my sensor to 60 seconds. Setting up the automation to reboot the DNS if resolving goes down.Whilst I should really be fixing the issue itself (something to do with QUICK) and this being “not really the way to do things” sometimes necessity goes above anything else. I have to manually restart the container, and with home assistant being an automation platform, it made me want to automate this task too. At times for an unknown reason, my AdGuard docker instance running on home assistant operating system stops responding, it ignores all queries sent to it. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |