doc/netwatch-notify: give an extra example for resolving AAAA records

This commit is contained in:
Christian Hesse 2024-10-10 22:24:56 +02:00
parent 82e3e7a9fc
commit f7f50a9d45

View file

@ -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