chore: add note on missing records
This commit is contained in:
2 files changed
+21
-1
No files matched your search
+1
-1
@@ -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}")
|
||||
|
||||
Reference in new issue
Block a user