aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-04-19 10:05:52 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-04-19 11:25:18 +0200
commitb0cd53f813be602edf59db2ec18e085d84fbebeb (patch)
treecf3e06ef5ba95cf6eb98846d264806fb681c046e /doc
parentee54956a6909190eceb5eae696ad8590720bc3c3 (diff)
netwatch-notify: allow to suppress resolve failure
Diffstat (limited to 'doc')
-rw-r--r--doc/netwatch-notify.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/netwatch-notify.md b/doc/netwatch-notify.md
index 90cd830..2db32bb 100644
--- a/doc/netwatch-notify.md
+++ b/doc/netwatch-notify.md
@@ -104,6 +104,15 @@ powered off, but accessibility is of interest.
Go and get your coffee ☕️ before sending the print job.
+### No log on failed resolve
+
+A message is writting to log after three failed attemts to resolve a host.
+However this can cause some noise for hosts that are expected to have
+failures, for example when the name is dynamically added by
+[`dhcp-to-dns`](dhcp-to-dns.md). This can be suppressed:
+
+ /tool/netwatch/add comment="notify, name=client, resolve=client.dhcp.example.com, no-resolve-fail" host=10.0.0.0;
+
### Add a note in notification
For some extra information it is possible to add a text note. This is