I’m wondering this also. I was thinking you could eneter your HA IP address as the first IP, and then 8.8.8.8 as secondary. So, if the AdGuard add-on isn’t loaded yet, then it can use the google DNS.
However, I don’t know if it actually works that way…
I’m not sure it is that cut and dry. I run two instances of adguard so I can have a primary and secondary. Even though the primary is working the secondary still gets used but less often. So you run the risk of having some requests not served by your adguard if you make the secondary 8.8.8.8
I use a variety of DNS servers to not only block ads but to also filter the net for my kids as well as geounblock streaming services. Thus it is critical for me that it always is working. If I just had one and didn’t specify a secondary and that one went down then the whole house internet would go down.
I have a dedicated RPi that does Adguard and the secondary is the add on in HA and yes they all get the primary and secondary DNS from my router when they start up.
does anybody knows how I could block tiktok app in android phone? In the filters blocked services If turn on tiktok it blocks access only for laptops. The same if I add the domain in Custom filtering rules. (tiktok.com^)
I don’t think adguard or any other local dns (ie pihole) works for android phones. I did a google search and other people are saying the same, apparently android circumvents any specified DNS and uses a default one which cannot be changed.
In my case adguard works for laptops but not for androids.
You can try blocking anything else, not only tiktok, and see what happens. My bet is it just won’t work, so the problem is not related to tiktok or any other particular domain, but with android.
You could of course disable the router’s DHCP and use instead the dhcp from adguard and that will work, but it will also affect all other devices in the network and in case HA is down you will not have internet, so for me this is not a solution since I want to use it only for kids’ laptops and phones.
Well, I think I have to change something (and I don’t know what) because in the query logs I only see the 192.618.1.1
I tried also with roblox. I added in the custom list roblox.com^ and disable the epic games in the blocked services which stopped the access to the laptop and android phone. (I am not sure which one helped and if even roblox belongs to epic games I was just testing few things)
Tomorrow I will try to see which one is doing the job but it somehow it worked.
@OzGav
Would you be so kind and detail the settings? I input my adguard server IP in both DNS fields of the ssid that I am using at home but it does not work. Also the phone has a static IP and it is configured as a client in adguard.
I also tried switching Private DNS to off from automatic, to no avail.
The phone appears in adguard top clients, but the Request count is very low, eg right now it is 3 whereas for the laptops is in the thousands.
It also does not work when I connect via wireguard vpn, although the DNS is set to adguard server’s IP.
Then at a guess I would say you have set the DNS server on your router but you haven’t set the DHCP settings correctly so the clients aren’t getting your adguard IP address as their DNS servers
Most likely that is why it’s working in your case.
But for the moment I do no want to make changes in the router that will affect the way all my network devices connect to the internet, I prefer to set Adguard on a per device basis.
I find myself tinkering in HA almost every day for the time being (a lot of restarts etc) and this would break the internet connection for all devices, albeit temporarily. My wife would not be happy if this would happen
Absolutely your call (and I think our wives are cut from the same cloth!) but unless you are using googles DNS servers normally then blocking them shouldn’t cause you any issues.
thank you. this guide helped me to make it work.
My set up is the following (I hadn’t change the local dns)
I am just wondering, what if my HA (and adguard) is off? Will I have any problems with my router? (internet will be available?)
Hi Vlad, I know, but that was not the question.
It’s a DNS.Watch dns server. The problem is, cannot reach the IPv6 one, but the IPv4 one.
Even though the Adguard docker container is able to reach IPv6 addresses (ping6 …).