aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-10-10 22:24:56 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-10-10 22:24:56 +0200
commitf7f50a9d45980e94041c9f48f017778b8a1d279c (patch)
tree345e1053d6c766a9671fc824395adeaa72b784a8
parent82e3e7a9fce024be5b93aa6adc41d6d799c05271 (diff)
doc/netwatch-notify: give an extra example for resolving AAAA records
-rw-r--r--doc/netwatch-notify.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 411a4d9..9fa0e26 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -90,10 +90,15 @@ with a resolvable name:
/tool/netwatch/add comment="notify, name=example.com, resolve=example.com" host=0.0;
-This supports multiple A or AAAA records for a name just fine, even a CNAME
+This supports multiple A records for a name just fine, even a CNAME
to those. An update happens only if no more record with the configured host
address is found.
+The address family is preserved, so if you want AAAA records (for IPv6)
+use this:
+
+ /tool/netwatch/add comment="notify, name=example.com, resolve=example.com" host=::;
+
### No notification on host down
Also suppressing the notification on host down is possible with parameter