[AdGuard DNS] Beta

Pratyay

New Member
Hi, can anyone tell me if I need the Adguard App anymore if I switched to Adguard DNS?
 
Last edited:

Boo Berry

Moderator + Beta Tester
Moderator
DNS only blocks domains (like a HOSTS file does), it can't and doesn't apply cosmetic filtering rules.
 

Adguard Ali

New Member
C:\Users\Don't know>tracert 176.103.130.130

Tracing route to 176-103-130-130.flops.ru [176.103.130.130]
over a maximum of 30 hops:

1 <1 ms <1 ms <1 ms TP-LINK.Home [192.168.1.1]
2 2 ms 1 ms 1 ms 172.16.100.29
3 2 ms 1 ms 1 ms 103.21.42.149
4 5 ms 5 ms 4 ms 103.21.40.101
5 5 ms 5 ms 5 ms 103.21.40.181
6 10 ms 10 ms 10 ms 103-16-155-105-noc.bsccl.com [103.16.155.105]
7 13 ms 10 ms 11 ms 103-16-152-34-noc.bsccl.com [103.16.152.34]
8 10 ms 9 ms 10 ms 103-16-152-26-noc.bsccl.com [103.16.152.26]
9 61 ms 61 ms 61 ms xe-0-2-0-16.r00.sngpsi05.sg.bb.gin.ntt.net [116.51.30.121]
10 62 ms 63 ms 62 ms ae-0.choopa.sngpsi05.sg.bb.gin.ntt.net [116.51.18.134]
11 81 ms 72 ms 75 ms vl808-ds1-j2-r1252.sgp1.choopa.net [45.32.97.146]
12 * * * Request timed out.
13 62 ms 62 ms 62 ms 176-103-130-130.flops.ru [176.103.130.130]

Trace complete.

C:\Users\Don't know>tracert 176.103.130.131

Tracing route to 176-103-130-131.flops.ru [176.103.130.131]
over a maximum of 30 hops:

1 1 ms <1 ms <1 ms TP-LINK.Home [192.168.1.1]
2 1 ms 1 ms 1 ms 172.16.100.29
3 2 ms 1 ms 1 ms 103.21.42.149
4 5 ms 5 ms 4 ms 103.21.40.101
5 12 ms 5 ms 5 ms 103.21.40.181
6 10 ms 10 ms 10 ms 103-16-155-105-noc.bsccl.com [103.16.155.105]
7 10 ms 10 ms 10 ms 103-16-152-34-noc.bsccl.com [103.16.152.34]
8 10 ms 11 ms 10 ms 103-16-152-26-noc.bsccl.com [103.16.152.26]
9 62 ms 62 ms 61 ms xe-0-2-0-16.r00.sngpsi05.sg.bb.gin.ntt.net [116.51.30.121]
10 62 ms 64 ms * ae-0.choopa.sngpsi05.sg.bb.gin.ntt.net [116.51.18.134]
11 62 ms 62 ms 62 ms vl803-ds2-b5-r1251.sgp1.choopa.net [45.32.96.34]
12 * * * Request timed out.
13 62 ms 63 ms 62 ms 176-103-130-131.flops.ru [176.103.130.131]

Trace complete.
 

bilan

New Member
Hello,

I just installed AdguardDNS to give it a try to replace my own dnsmasq setup + http/https autogenerated certificates setup.
I don't know what I'm doing wrong but each time I try to add a host file I get the following error:
http: panic serving 127.0.0.1:56982: runtime error: index out of range

I have no problem adding filters lists but no way to add hosts files. Maybe it must have a special syntax ?

I tried
blah.ext 127.0.0.1
or
127.0.0.1 blah.ext
or
||bla.ext^


The file needs a checksum at the beginning of the file ?

Thank you
 
Last edited:

bilan

New Member
I reply to myself, I found after many tests that it was simply because of a blank line at the end .. :(

Ok, now it's running, I added my 2 files ( domains.txt and hostnames.txt )
But, for example:
In my domains.txt there is
doubleclick.net 127.0.0.1

But when I try to resolve, it answers nothing

Code:
;; AUTHORITY SECTION:
$ dig @127.0.0.1 doubleclick.net
doubleclick.net.    3600    IN    SOA    fake-for-negative-caching.adguard.com. hostmaster.doubleclick.net.
It is confirmed in the web GUI logs:
doubleclick.net A Empty

What am I missing ?
Even in the explanations of AdguardDNS It says it should redirect to the IP I defined:
example.org 127.0.0.1 - AdGuard DNS will now return 127.0.0.1 address for the example.org domain (but not its subdomains).
 

Boo Berry

Moderator + Beta Tester
Moderator
I don't use OpenWrt, so I'd be the wrong person for such a tutorial I'm afraid. But if OpenWrt already supports DNSCrypt, just use the AdGuard DNS IPs as the DNS resolver addresses.
 

Daniel8458

New Member
I don't use OpenWrt, so I'd be the wrong person for such a tutorial I'm afraid. But if OpenWrt already supports DNSCrypt, just use the AdGuard DNS IPs as the DNS resolver addresses.
I figured it out.

Login to your router that has the OpenWRT firmware installed.

Click System, Software, the letter L, and install "Luci-app-dnscrypt-proxy".

A new tab will appear next to "System" called "Services".

Click on "Services" and choose "DNSCrypt-Proxy".

Click on the "Resolver (LOC/SEC/NOLOG)" dropdown box at the very bottom of the page and inside the dropdown box, scroll all the way up to "adguard-dns-ns1 (Anycast/no/yes)".

Choose that and click "Save".

To verify that DNSCrypt is working, you can (supposedly) type in "nslookup -type=txt debug.opendns.com" into the Terminal and look for "127.0.0.53".
 
Top