aboutsummaryrefslogtreecommitdiffstats
path: root/doc/netwatch-dns.md
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2023-11-27 13:17:17 +0100
committerGravatar Christian Hesse <mail@eworm.de>2023-11-27 18:21:47 +0100
commit81a86ee0430c0ffccfa7e8116d383341037e07da (patch)
treeba6044bf96c09beb588db1671521ce4d963baf27 /doc/netwatch-dns.md
parent1cc0e3429b4017d97529a49a09e50487d9630929 (diff)
netwatch-dns: get doh host name from static dns
Diffstat (limited to 'doc/netwatch-dns.md')
-rw-r--r--doc/netwatch-dns.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/netwatch-dns.md b/doc/netwatch-dns.md
index a208d00..70b766a 100644
--- a/doc/netwatch-dns.md
+++ b/doc/netwatch-dns.md
@@ -43,6 +43,15 @@ Giving a specific query url for DoH is possible:
Note that using a name in DoH url may introduce a chicken-and-egg issue!
+Adding a static DNS record has the same result for the url, but always
+resolves to the same address.
+
+ /ip/dns/static/add name="dns.nextdns.io" address=199.247.16.158;
+ /tool/netwatch/add comment="doh" host=199.247.16.158;
+
+Be aware that you have to keep the ip address in sync with real world
+manually!
+
Importing a certificate automatically is possible, at least if available in
the repository (see `certs` sub directory).