dns/README.md
2026-01-09 20:08:28 +00:00

69 lines
No EOL
2 KiB
Markdown

# DNS
Filters that used on my AdGuard Home and how to use
## Use my service
If you don't need to bypass something or need more stability, I recommend:
* [Mullvad DNS](https://mullvad.net/en/help/dns-over-https-and-dns-over-tls)
* [AdGuard DNS](https://adguard-dns.io/en/public-dns.html)
* [RethinkDNS with HaGaZi Pro+TIF (At the bottom of the README)](https://github.com/hagezi/dns-blocklists/?tab=readme-ov-file#department_store-rethinkdns---free-)
* [My Cloudflare Gateway](https://git.xlion.tw/infra/cloudflare-gateway-ad)
> [!WARNING]
> NO SLAs, may down anytimes.
### DoH: DNS over HTTPS
```text
https://
dns{DOT}
xlion
{DOT}tw/dns-query
```
Use for: Most browser, Apple devices, some routers, Windows 11
### DoT: DNS over TLS
```text
dnsd{DOT}
xlion
{DOT}tw
```
Use for: Android
> [!WARNING]
> DoT **is not** suggested when DoH option available, some ridiculous public WiFi will block almost all internet protocols besides HTTP and DNS.
> [!WARNING]
> Being civil, enable DNS cache, or I may blocked you.
The two servers are hosted at Hetzner Germany and Finland, for DoH, Cloudflare will choose available server to response, for DoT, hopely your client can fallback automatically.
## Security
All server softwares and system are fully auto updated.
The domain `xlion.tw`'s DNSSEC is enabled, the DoH endpoint is went through Cloudflare CDN, so lower chance to get blocked, ESNI is enabled when possible.
All querylogs, statistics and http logs are stored in tmpfs, but sensive informations are not redacted.
## Architecture
(Cloudflare -> Caddy ->)(If DoH) AdGuard Home -> Unbound
AdGuard Home's list is at [ADG.yaml](ADG.yaml)
### Servers
There are two Hetzner servers, one at fsn, the other is at hel, both of them are using Unbound as resolver and using each other's Unbound as backup.
When accessing remote Unbound, it is using DNS over HTTPS or Wireguard tunnel.
## Import
At your `AdGuardHome.yaml` there is section called `filters:`, copy and paste and restart AdGuard Home.