mirror of
https://codeberg.org/privacy1st/netcup-dns
synced 2024-12-22 23:36:04 +01:00
minor
This commit is contained in:
parent
0367c505d3
commit
8e76f6de1e
@ -45,7 +45,7 @@ def main():
|
|||||||
if update_record_destination(api, domain, hostname, type_, destination=destination):
|
if update_record_destination(api, domain, hostname, type_, destination=destination):
|
||||||
print(f'Set {hostname}.{domain} {type_} record to {destination}')
|
print(f'Set {hostname}.{domain} {type_} record to {destination}')
|
||||||
else:
|
else:
|
||||||
print(f'The {hostname}.{domain} {type_} record points already to {destination}.')
|
print(f'The {hostname}.{domain} {type_} record points already to {destination}')
|
||||||
else:
|
else:
|
||||||
raise Exception(f'DNS record type {type_} is not supported.')
|
raise Exception(f'DNS record type {type_} is not supported.')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user