chore: add note on missing records

This commit is contained in:
mxmehl committed 2026-10-22 15:09:08 +02:00
1 parent d51185078f
commit ccfe8f37c9
2 files changed
+21 -1

No files matched your search

+1 -1
View File
@@ -259,7 +259,7 @@ def handle(env, cfg, update=inwx_update, note=None):
update(cfg, zone, host, rtype, ip)
except NoHost as e:
# shortcut: missing records are not created, add nameserver.createRecord if wanted
note(f"{host}: nohost: {e}")
note(f"{host}: nohost: {e}, create it at INWX first")
return 404, "nohost"
except (InwxError, OSError, ValueError) as e:
note(f"{host}: 911: {rtype} update to {ip} failed: {e}")