Hello, i just installed Adguard Home as an addon through the Supervisor. I previously had adguard home on another VM. How can i migrate my old adguard home config to this one ? I understand that i simply have to copy the old adguardhome.yaml to the new container but i can’t find it in hass with ssh access. Is there anyway to do it ?
To answer my own question, docker cp is your friend. I managed to migrate my settings by copying the AdguardHome.yaml outside the container to a path of my choice, i edited it with my settings from the previous installation and lastly copy the file back to the container. I did the same for the stats.db files to migrate my statistics. Seems to work ok so far!
My only gripe with hassio + supervisor is that it doesn’t give you any way to interact with the addon’s containerized storage in anyway except reading through the docker documentation. That’s outside the scope of this topic anyway
I was able to successful install Adguard and see that is working as expected but with my Google Nest Wifi. I am only seeing one client with router IP address in the client list. What do I need to do to make sure I get all the clients in the client list?
Hi, is it possible to make automation based on query result?
Here’s my problem. My wife runs a game (Tsum-tsum) bot in an old android phone using robotmon. Sometime, the bot got stuck and the game fail to run.
I noticed from query result that when the bot and game run correctly, it will send request to lgtmtmg.linegame.jp every 5/6 minutes and when the bot fail, it will not.
Is it possible to make automation for this? Something like HA will send me telegram message if no connection made to lgtmtmg.linegame.jp after 10 minutes or so. I got no idea how to get input from query log and use it for automation.
Perhaps someone can guide me to the right direction? Thanks.
- I’m running HassOS 4.8 on Raspi 3
I got the same problem with Xiaomi router.
Normally, DHCP server on router should give client DNS IP when client ask for an IP number and then client can connect to DNS by itself. But, my Xiaomi router gave its own IP address to client even if I add different DNS address in router. Client ask for IP address to router and my Xiaomi router route it to DNS server. That’s why all connection to Adguard only came from router and no other client. Your router probably behave the same?
My solution? Disable my router DHCP server and use HA addon for DHCP server.
Thanks. Google wifi is already very restricted and not flexible at all and has been a pain to do anything beyond what the app the provides. App is simple and easy to use but doing any customization is a pain and google support is really shitty in this area. I should have gone with Unifi when my last router died. For now, I will just go with one IP address.
hi,
Addon in not working for me, can any one help please.
i installed adguard as add on HA (Windows VM). After Add on is running, i changed the DNS setting (network adopter>proporties> ipv4 > properties> use following DNs setting> preffered setting> )Home Assistant IP 192.168.30.40 in my case. with this DNS, i cant browse internet at all
within HA> supervisor>system>ip address >static > 192.168.30.40. DNS: 8.8.8.8
cmd> ipconfig> shows DNS: 192.168.30.40
In Adguard, i dont see any DNS request or any activity, it looks like its not running at all. even setting>filter>rules count show zero.
I have tried chanding DNS in my router as well, but same result.
Appreciate if someone can help me running this Add on.
In the web UI for Adguard look for “Setup guide” on the top menu banner. This will tell you which DNS IPs to put where.
Hi W4D3,
Below is the snapshot of set up guide. I am running HA at 192.168.30.40. So i put 192.168.30.40 as primary DNS in my router. The results are shown in my first post. Are you advising me to put some other DNS out of below ?
Can you confirm 192.168.30.40 is the VM IP address and not the IP of your Windows machine?
Can you confirm you have set the upstream DNS provider?
Also rather than the block list page look at the query log to see what clients are using Adguard.
Lastly, have you tried manually configuring a client device to use your Adguard server rather that relying on the router.
I want to use the DHCP server that Adguard offers. The “Enable DHCP” just does nothing, doesnt matter what browser I use. When I click “Check for DHCP servers” it gives me the following error: “In order to use DHCP server a static IP address must be set. We failed to determine if this network interface is configured using static IP address. Please set a static IP address manually.” But I set a static IP in the config already.
- I wanted to put a picture of my Homeassistant network settings in the UI but the forums only allows me to post one pic…
So I used nmcli to double check if I had a static IP addressm same results:
But it still tells me I didn’t set a static IP. I’m pretty sure this is a bug or I’m really doing something wrong. I’m also a bit confused why the "Enable’ button just doesn’t do anything, not even give me an error.
This add-on is running well for me, but I was curious about setting the DNS server of the host system to point to this also?
For example running on a Pi, the DNS server in Network Settings of Supervisor is still Cloudflare’s DNS servers instead of AdGuard Home’s:
Would it be a good idea to change that to the IP of the Pi? Or even 127.0.0.1
since it’s running on the same machine?
Are people routing all DNS queries through AdGuard Home, even queries from the host system running AdGuard Home?
Yes. I run two instances of Adguard because if you have only one and it goes down then you will lose Internet connectivity unless you have set an alternate DNS outside your network; though that would defeat the purpose somewhat.
I just have my router run as a DHCP server and send out the 2 internal DNS servers with the lease. So every device, including the host system, uses the Adguard servers.
I encountered exactly the same problem so I ended up using the DHCP add-on instead.
The thing to watch is that the host needs to be able to resolve via DNS before HA (and Ad-Guard) is up and running. if you point the host at the Addon, it cannot reslove until that has started and might not start if it cannot resolve.
I’m having problems setting up DHCP on AGH as I can’t click the “Enable DHCP server” button since it’s always disabled. My original problem is that all client requests happen under the gateway IP and I can’t filter clients by IP or MAC address. I’m unsure how to get DHCP clients to appear in AGH and hence why I wanted to turn the DHCP feature on in AGH so it can handle DHCP and hopefully allow me to filter by IP etc.
Does anyone please have a solution to this? Thanks.
Are you trying to do it on a Windows machine? I think I read it doesn’t work on that…otherwise not sure.
Thanks @baz123, do you use a 3rd party such as 1.1.1.1
for the DNS server on the host machine instead then (in this case HA OS)? I did change it to the local IP of the Pi recently and it seems to be working, but I suppose it’s more fragile now.
@whitelodge see this issue. Waiting on a new release.
I have Pi-Hole running in a PVE LXC on my network so I point the host at that.
thanks, my problem resolved my setting up stream DNS in Adguard setting.
BTW, setting upstream DNS is not mentioned in any of the youtube video guides or written instructions.