mirror of
https://github.com/ookangzheng/blahdns.git
synced 2025-12-15 21:55:36 +07:00
chore: tidyup readme
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
## Android DoT / DoH config
|
## Android DoT / DoH config
|
||||||
|
|
||||||
Go [HERE](https://github.com/ookangzheng/blahdns/blob/master/client-conf/DoT-or-DoH-Android.md)
|
Go [HERE](https://github.com/zoonderkins/blahdns/blob/master/client-conf/DoT-or-DoH-Android.md)
|
||||||
|
|
||||||
## Dnscrypt-proxy
|
## Dnscrypt-proxy
|
||||||
|
|
||||||
Go [HERE](https://github.com/ookangzheng/blahdns/tree/master/client-conf/dnscrypt)
|
Go [HERE](https://github.com/zoonderkins/blahdns/tree/master/client-conf/dnscrypt)
|
||||||
|
|
||||||
## Knot-resolver
|
## Knot-resolver
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ net.listen({'::1', '127.0.0.1'}, 53)
|
|||||||
cache.size = 100 * MB
|
cache.size = 100 * MB
|
||||||
|
|
||||||
-- Forward queries to Blahdns
|
-- Forward queries to Blahdns
|
||||||
policy.add(policy.all(policy.TLS_FORWARD({{'139.162.112.47@853', hostname='dot-jp.blahdns.com', ca_file='/etc/ssl/certs/ca-certificates.crt'}})))
|
policy.add(policy.all(policy.TLS_FORWARD({{'78.46.244.143@853', hostname='dot-de.blahdns.com', ca_file='/etc/ssl/certs/ca-certificates.crt'}})))
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -31,23 +31,23 @@ Go [HERE](https://github.com/zoonderkins/blahdns/blob/master/client-conf/unbound
|
|||||||
|
|
||||||
## Stubby
|
## Stubby
|
||||||
|
|
||||||
Go [HERE](https://github.com/ookangzheng/blahdns/tree/master/client-conf/stubby)
|
Go [HERE](https://github.com/zoonderkins/blahdns/tree/master/client-conf/stubby)
|
||||||
|
|
||||||
|
|
||||||
## Windows
|
## Windows
|
||||||
Simplednscrypt -> https://simplednscrypt.org/ and install
|
Simplednscrypt -> https://simplednscrypt.org/ and install
|
||||||
|
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
## Kdig
|
## Kdig
|
||||||
```bash
|
```bash
|
||||||
kdig google.com @dot-jp.blahdns.com +tls
|
kdig google.com @dot-de.blahdns.com +tls
|
||||||
```
|
```
|
||||||
## getdns
|
## getdns
|
||||||
```bash
|
```bash
|
||||||
sudo apt install getdns-utils
|
sudo apt install getdns-utils
|
||||||
getdns_query @139.162.112.47 -s -L -A www.google.com
|
getdns_query @78.46.244.143 -s -L -A www.google.com
|
||||||
```
|
```
|
||||||
|
|
||||||
## Curl
|
## Curl
|
||||||
@@ -59,21 +59,21 @@ curl -H 'accept: application/dns-json' 'https://doh-jp.blahdns.com/dns-query?nam
|
|||||||
```bash
|
```bash
|
||||||
sudo apt install python3-pip python3-setuptools python3-wheel
|
sudo apt install python3-pip python3-setuptools python3-wheel
|
||||||
sudo -H pip3 install doh-proxy
|
sudo -H pip3 install doh-proxy
|
||||||
doh-client --domain doh-jp.blahdns.com --qname google.com --qtype A
|
doh-client --domain doh-de.blahdns.com --qname google.com --qtype A
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linux-systemd
|
## Linux-systemd
|
||||||
```bash
|
```bash
|
||||||
nano /etc/systemd/resolved.conf
|
nano /etc/systemd/resolved.conf
|
||||||
|
|
||||||
DNS=4139.162.112.47
|
DNS=478.46.244.143
|
||||||
DNSOverTLS=opportunistic
|
DNSOverTLS=opportunistic
|
||||||
|
|
||||||
// Save and restart service
|
// Save and restart service
|
||||||
sudo systemctl restart systemd-resolved
|
sudo systemctl restart systemd-resolved
|
||||||
// Check settings
|
// Check settings
|
||||||
resolvectl status
|
resolvectl status
|
||||||
resolvectl query dot-jp.blahdns.com -t A
|
resolvectl query dot-de.blahdns.com -t A
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user