Open Veraellyunjie opened 3 months ago
Hello, i think this should work.
forward-addr: 149.248.217.117@853#adblock.dns.dnswarden.com
forward-addr: 2a09:8280:1:0:0:0:1:da1b@853#adblock.dns.dnswarden.com
You can also play around with custom filter where you can choose your own blocklists. You can copy the domain name identifier from that page and replace it in above unbound config after #
forward-addr: 149.248.217.117@853#n000000080000g0000000g.dns.dnswarden.com
Thank you, @bhanupratapys
I asked another DNS resolution provider a similar question https://github.com/m0zgen/openbld.net/issues/2 Here is their reply, adapted to dnswarden:
Check with nslookup
or dig
commands:
> nslookup -port=53 adblock.dns.dnswarden.com 1.1.1.1
Server: 1.1.1.1
Address: 1.1.1.1#53
Non-authoritative answer:
adblock.dns.dnswarden.com canonical name = dns.dnswarden.com.
Name: dns.dnswarden.com
Address: 149.248.217.117
Check the service is working on port 853:
> telnet 149.248.217.117 853
Trying 149.248.217.117...
Connected to 149.248.217.117.
Escape character is '^]'.
Connection closed by foreign host.
Use 149.248.217.117@853#adblock.dns.dnswarden.com
in config
it doesn't work:
forward-addr: 149.248.217.117@853#adblock.dns.dnswarden.com
is what I put into my unbound.conf
, then run rcctl reload unbound
,
then try pinging/opening some websites and run dns test at https://dnsleaktest.com/
With other DNS resolution services, it works.
With dnswarden, ping: no address associated with name
, browser: ERR_NAME_NOT_RESOLVED
same with uncensored.dns.dnswarden.com
Here is a howto on setting up
unbound
on OpenBSD https://www.jwillikers.com/dns-over-tls-with-unboundunbound.conf
excerpt:forward-addr:
consists of 3 parts:@
delimiter#
delimiterhttps://blahdns.com/ config data:
All 3 parts present, I can understand it and apply in
unbound.conf
https://dnswarden.com/ config data:
adblock.dns.dnswarden.com
oruncensored.dns.dnswarden.com
oradultfilter.dns.dnswarden.com
1 part present, 2 parts missing, I can't understand it and can't apply in
unbound.conf
What
unbound.conf
forward-addr:
line should look like for dnswarden? Thank you