# Blahdns -- a hobby adblock DNS resolver support HTTP/3, DoH, DoT, DoQ, DNSCryptv2
DNS, Adblock, dnscrypt, doh, dot, dns-over-https, dns-over-tls, Yggdrasil, EDNS, no-logs, dnssec
Author: ookangzheng
Keywords: small hobby adblocks DNS resolver with dot doh dnscrpyt

# Announcements

- Site last update at: 2022-12-13
- Singapore and Japan server has been migrate to HostHatch (2022-11-15)
- Finland server will be discontinue at 2022-12-30 (Due to Hetzner price increase)
- Japan server has been migrate to HostHatch. (2022-11-01)
- Servers TLS certificate validity check: Japan | Singapore | Switzerland | Germany | Finland
  CA: Buypass Class 2 CA 5 (Buypass GO SSL)
- DNS over HTTP/3 and Quic protocol is now available. (port 443 UDP)
- Bye Google Analytics, Welcome GoatCounter... BlahDNS site now use GoatCounter and we degoogled !!! (Google Analytics) 2021-04-24
- Yggdrasil network DNS-over-TLS Github
- DNS-over-TLS, DNS-over-HTTPS on PORT 443 will require strict SNI, without SNI will be dropped by default.

## Our servers

# Switzerland 🇨🇭

### DNS-over-HTTPS & HTTP/3

https://doh-ch.blahdns.com/dns-query

IPv4-stamp:

sdns://AgMAAAAAAAAAEDQ1LjkxLjkyLjEyMTo0NDMAEmRvaC1jaC5ibGFoZG5zLmNvbQovZG5zLXF1ZXJ5

IPv6-stamp:

sdns://AgMAAAAAAAAAFlsyYTBlOmRjMDo2OjIzOjoyXTo0NDMAEmRvaC1jaC5ibGFoZG5zLmNvbQovZG5zLXF1ZXJ5

### DNS-over-TLS

IP address:
45.91.92.121
2a0e:dc0:6:23::2

tls_auth_name:
dot-ch.blahdns.comport: 853, 443 (Strict SNI, without SNI will drop)

### DNSCrypt v2

port: 8443

IPv4 - DNSStamp:
sdns://AQMAAAAAAAAAETQ1LjkxLjkyLjEyMTo4NDQzIIUTqWvE4INLlQ1jtQLo0-LVTQSWayYCkzTpBx26I_wrGzIuZG5zY3J5cHQtY2VydC5ibGFoZG5zLmNvbQ

IPv6 - DNSStamp:
sdns://AQMAAAAAAAAAF1syYTBlOmRjMDo2OjIzOjoyXTo4NDQzIIUTqWvE4INLlQ1jtQLo0-LVTQSWayYCkzTpBx26I_wrGzIuZG5zY3J5cHQtY2VydC5ibGFoZG5zLmNvbQ

# Japan 🇯🇵

#### DNS over QUIC

quic://dot-jp.blahdns.com:784

### DNS-over-HTTPS & HTTP/3

https://doh-jp.blahdns.com/dns-query

IPv4-stamp:

sdns://AgMAAAAAAAAADjEzOS4xNjIuMTEyLjQ3ABJkb2gtanAuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

IPv6-stamp:

sdns://AgMAAAAAAAAAIFsyNDAwOjg5MDI6OmYwM2M6OTJmZjpmZTI3OjM0NGJdABJkb2gtanAuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

### DNS-over-TLS

IP address:
212.52.0.122
2406:ef80:4:1537::1

tls_auth_name:
dot-jp.blahdns.comport: 853, 443 (Strict SNI, without SNI will drop)

### DNSCrypt v2

port: 8443

IPv4 - DNSStamp:

sdns://AQMAAAAAAAAAEzEzOS4xNjIuMTEyLjQ3Ojg0NDMghROpa8Tgg0uVDWO1AujT4tVNBJZrJgKTNOkHHboj_CsbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

IPv6 - DNSStamp:

sdns://AQMAAAAAAAAAJVsyNDAwOjg5MDI6OmYwM2M6OTJmZjpmZTI3OjM0NGJdOjg0NDMghROpa8Tgg0uVDWO1AujT4tVNBJZrJgKTNOkHHboj_CsbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

# Singapore 🇸🇬

#### DNS over QUIC

quic://dot-sg.blahdns.com:784

### DNS-over-HTTPS & HTTP/3

https://doh-sg.blahdns.com/dns-query

IPv4-stamp:

sdns://AgMAAAAAAAAADjE5Mi41My4xNzUuMTQ5ABJkb2gtc2cuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

IPv6-stamp:

sdns://AgMAAAAAAAAAIFsyNDAwOjg5MDE6OmYwM2M6OTJmZjpmZTI3Ojg3MGFdABJkb2gtc2cuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

### DNS-over-TLS

IP address:
103.167.150.45
2406:ef80:2:5ee4::1

tls_auth_name:
dot-sg.blahdns.comport: 853, 443 (Strict SNI, without SNI will drop)

### DNSCrypt v2

port: 8443

IPv4 - DNSStamp:
sdns://AQMAAAAAAAAAEzE5Mi41My4xNzUuMTQ5Ojg0NDMghROpa8Tgg0uVDWO1AujT4tVNBJZrJgKTNOkHHboj_CsbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

IPv6 - DNSStamp:
sdns://AQMAAAAAAAAAJVsyNDAwOjg5MDE6OmYwM2M6OTJmZjpmZTI3Ojg3MGFdOjg0NDMghROpa8Tgg0uVDWO1AujT4tVNBJZrJgKTNOkHHboj_CsbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

# Germany 🇩🇪

#### DNS over QUIC

quic://dot-de.blahdns.com:784

### DNS-over-HTTPS & HTTP/3

https://doh-de.blahdns.com/dns-query

IPv4-stamp:

sdns://AgMAAAAAAAAADTc4LjQ2LjI0NC4xNDMAEmRvaC1kZS5ibGFoZG5zLmNvbQovZG5zLXF1ZXJ5

IPv6-stamp:

sdns://AgMAAAAAAAAAFlsyYTAxOjRmODpjMTc6ZWM2Nzo6MV0AEmRvaC1kZS5ibGFoZG5zLmNvbQovZG5zLXF1ZXJ5

### DNS-over-TLS

IP address:
78.46.244.143
2a01:4f8:c17:ec67::1

tls_auth_name:
dot-de.blahdns.comport: 853, 443 (Strict SNI, without SNI will drop)

### DNSCrypt v2

port: 8443

IPv4 - DNSStamp:
sdns://AQMAAAAAAAAAEjc4LjQ2LjI0NC4xNDM6ODQ0MyCFE6lrxOCDS5UNY7UC6NPi1U0ElmsmApM06QcduiP8KxsyLmRuc2NyeXB0LWNlcnQuYmxhaGRucy5jb20

IPv6 - DNSStamp:
sdns://AQMAAAAAAAAAG1syYTAxOjRmODpjMTc6ZWM2Nzo6MV06ODQ0MyCFE6lrxOCDS5UNY7UC6NPi1U0ElmsmApM06QcduiP8KxsyLmRuc2NyeXB0LWNlcnQuYmxhaGRucy5jb20

# Finland 🇫🇮

#### DNS over QUIC

quic://dot-fi.blahdns.com:784

### DNS-over-HTTPS & HTTP/3

https://doh-fi.blahdns.com/dns-query

IPv4-stamp:

sdns://AgMAAAAAAAAADjk1LjIxNi4yMTIuMTc3ABJkb2gtZmkuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

IPv6-stamp:

sdns://AgMAAAAAAAAAF1syYTAxOjRmOTpjMDEwOjQzY2U6OjFdABJkb2gtZmkuYmxhaGRucy5jb20KL2Rucy1xdWVyeQ

### DNS-over-TLS

IP address:
95.216.212.177
2a01:4f9:c010:43ce::1

tls_auth_name:
dot-fi.blahdns.comport: 853, 443 (Strict SNI, without SNI will drop)

### DNSCrypt v2

port: 8443

IPv4 - DNSStamp:
sdns://AQMAAAAAAAAAEzk1LjIxNi4yMTIuMTc3Ojg0NDMgdx2bczthZoF5vshYRHI0w01DKOahJ-Vdfz6jSM-2y8EbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

IPv6 - DNSStamp:
sdns://AQMAAAAAAAAAHFsyYTAxOjRmOTpjMDEwOjQzY2U6OjFdOjg0NDMgdx2bczthZoF5vshYRHI0w01DKOahJ-Vdfz6jSM-2y8EbMi5kbnNjcnlwdC1jZXJ0LmJsYWhkbnMuY29t

## News

Domain Name

### DNSCrypt v2

- Simple DNSCrypt (Windows)
- dnscrypt-proxy (macOS, Linux)
- DNSCloak (iOS)

### DNS-over-TLS

- Stubby (Linux, Windows, macOS)
- Nebulo (DoT, DoH) -- Android
- Unbound

### DNS-over-HTTPS

- Nebulo (DoT, DoH) -- Android
- Simple DNSCrypt (Windows)
- dnscrypt-proxy (macOS, Linux)
- DNSCloak (iOS)
- Intra (Android)
- Mozilla Firefox (v66 above)

Thanks to these great projects, Blahdns was born.
1. knot-resolver: Go
2. Dnsdist: Go
3. HAProxy: Go
4. dns-over-https: Go

Useful tools

- DNS leaks check Mullavad || Bash.ws
- DNSSEC validation: Go
- Internet.nl: Go
- DNSSEC resolver algorithm test: Go
- Cloudflare tools: Go | Go
- Check my DNS: Go
- DNS randomness: Go
- DNS Spoofability test: Go
- DNSTrace: Go
- Threats search: Go
- EDNS test Go
- Cloudflare SNI Test Go .. You should have DNSSEC + TLS1.3 section in Green color.
- DNS Check Go
Browser or Device privacy leaks test
- 1. Browserleaks: Go
- 2. Device leak: Go
- 3. Creepy JS: Go
- 4. Webbkoll: Go
- 5. Hardenize Report: Go
- 6. STARTTLS check: Go
- 7. SSL Test: Go
- 8. DKIM, SPF, SpamAssassin Email Validator Go
- 9. LiquidWeb (DNS) Go
- 10. BunnyCDN Diagnostic report Go

DNS over HTTPS (DoH)
DNS over HTTPS is a new protocol designed to encrypt and secure DNS traffic over HTTPS.
It prevents DNS hijacking and ISPs from sniffing your traffic.
You can use will Infra on Android Phone, Mozilla firefox nightly, Chrome coming soon.
DNSCrypt v2 client does support DoH, see dnscrypt configuration example on Windows, macOS, iOS (DNSCloak)

Encrypted DNS - DNS over TLS
DNS over TLS support is available on all our services through port 853 (standard port, some service may support 443).
DNS over TLS encrypts and authenticates all your DNS traffic to protect your privacy and prevent DNS hijacking and sniffing.
Client software: Stubby | Unbound

The Domain Name System (DNS) is the phonebook of the Internet. Humans access information online through domain names, like nytimes.com or espn.com. Web browsers interact through Internet Protocol (IP) addresses. DNS translates domain names to IP addresses so browsers can load Internet resources.

Each device connected to the Internet has a unique IP address which other machines use to find the device. DNS servers eliminate the need for humans to memorize IP addresses such as 192.168.1.1 (in IPv4), or more complex newer alphanumeric IP addresses such as 2400:cb00:2048:1::c629:d7a2 (in IPv6).

## FAQ

- How to fix Chrome on Android phone leaking DNS, check HERE
- Supported TLS v1.3, 1.2
- We drop ANY type.
- Why you building this porject? I started this project around 2016. During that time, with my private dns, I need an easy way to filter ads and tracker, so I rent a server and learn how to achive this.
- Why you dont like huge traffic? I'm still a student. and I run this service with my pocket money and spare time. Just as a hobby to learn somehting new. buying big server or Anti-DDOS service will cost lot.

- DNS encryption report (china, iran, etc.) : download
- Testing Firefox DoH Without Cloudflare, pfblockerNG, DNS Filtering, and Site Blocking Discussion @ Lawrence Systems / PC Pickup
- Block Ads on Samsung Galaxy without third-party applications [No root required]
- Here is how to block Ads on Android Pie without root on the S8. NO APPS NEEDED! New option in Pie.
- Blocking ads without additional software in Android 9.0 Pie (finally :D)
- How to Block Ads using Private DNS (DNS over TLS) Feature on Android 9.0 Pie or later without root https://www.androidsage.com/2018/12/25/how-to-block-ads-using-private-dns-dns-over-tls-feature/

DNS over HTTP/3 Udp over QUIC protocol
`docker run -it --rm ymuski/curl-http3 curl --http3 -H 'accept: application/dns-message' -v 'https://doh-fi.blahdns.com/dns-query?dns=q80BAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB' | hexdump -C`

Curl Dns-over-HTTPS TCP HTTP/2
`curl -H 'content-type: application/dns-message' -vL -v 'https://doh-jp.blahdns.com/dns-query?dns=AAABAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB' | hexdump -C`

kdig DNS over TLS
`kdig example.org @dot-jp.blahdns.com +tls -p 443`
`kdig @doh-jp.blahdns.com +https=doh-jp.blahdns.com/dns-query example.com.`
`kdig @doh-jp.blahdns.com +https=doh-jp.blahdns.com/dns-query +https-get example.com.`
`kdig -d @dot-jp.blahdns.com +tls-ca +tls-host=dot-jp.blahdns.com example.com.`

Do Blahdns block CNAME Cloacking? Yes, click here to read more.

We do block Sentry, Rollbar, Bugsnag --

- Bugsnag
- Sentry CDN Javascript

- Thanks Matteo Bosso**sco for 5 USD
- Thanks Adam C** for 10 USD
- Thanks Jash** P for 5 USD
- Thanks A Bran**ts for 10 USD
- Thanks Lawrence Le**g for 20 USD
- Thanks A Bran**ts for 30 USD
- Thanks for Simon On** for 5 USD
- Thanks A Br**dts for 5 USD
- Thanks And**w Kriz for 10 USD
- Thanks Etienne Gut*** for 15.66 USD
- Thanks Alexander S** for 50 EUR
- Thanks Gabrie** Nichole Di*** for 20 USD
- Thanks Chxx Kxx ** for 10 USD
- Thanks Ch*** Buiter for 5 USD
- Thanks Daniel de*** for 35 USD
- Thanks Rolf Schw*** for 5 USD
- Thanks Si*** Öner for 5 USD
- Thanks Poxx Kw*** for 5 USD
- Thanks Antonius Sian*** for 250 TWD
- Thanks Yo** J** Lim for 3.88 SGD
- Thanks Alex *** for 5 USD
- Thanks to Johannes P*** 5 USD
- Thanks to Jordi San*** 14.04 USD
- Thanks to Mark McCr*** for 12.08 EUR
- Thanks to Kristian Ny*** for 52 EUR
- Thanks to dt Boris Gren*** for 10 EUR
- Thanks to dt ans*** for 12 USD
- Thanks to Andries Lou*** for 1000 TWD
- Thanks to Andries Lou*** for 807 TWD
- Thanks to Yann Fa*** for 25 USD(LTC)
- Thanks to Daniel De*** for 10 USD
- Thanks to Christoph Be*** for 5 USD
- Thanks to Etienne Gu*** for 30 EUR
- Thanks to Michael Ka*** for 3.33 EUR
- Thanks to Adam Sr*** for 13 USD
- Thanks to Tobiax R*** for 5 EUR
- Thanks to Pekka de G*** for 15 USD
- Thanks to Loren Pe*** for 3 USD
- Thanks to Adam S*** for 2 USD
- Thanks to Slawomir M*** for 5 USD
- Thanks to Giuseppe Ma*** for 5 USD
- Thanks to Austin Sa*** for 25 USD
- Thanks to Jonni Rau*** for 25 USD
- Thanks to Regin Ja*** for 50 EUR
- Thanks to Kristian Ny*** Jen*** for 5 USD and 10 EUR
- Thanks to Martin Lohr*** for 10 EUR
- Thanks to Ferdinand Mu*** for 3 USD
- Thanks to Mars*** for 5 USD
- Thanks to Lawerence Le*** for 20 AUD
- Thanks to 優樹*** for 3 USD
- Thanks to Ardi Ka*** for 5 SGD
- Thanks to Kung J*** for 3 USD
- Thanks to Braian Kap*** for 9 USD
- Thanks to Lorenzo O*** for 20 USD
- Thanks to Felix Hung*** for 3 USD
- Thanks to Marco G*** for 10 USD
- Thanks to mik*** for 10 EUR
- Thanks to Tim *** for 20 TWD

### How to get strict SPKI

Method 1

Be sure you already install package `apt install gnutls-bin`
`gnutls-cli --print-cert -p 853 dot-jp.blahdns.com | grep "pin-sha256" | head -1`

Method 2

`kdig -d @dot-jp.blahdns.com +tls-ca +tls-host=dot-jp.blahdns.com blahdns.com`