mirror of
https://codeberg.org/shm0rt/ddns-pdns-updater.git
synced 2025-07-29 13:39:06 +02:00
15 lines
439 B
Python
Executable file
15 lines
439 B
Python
Executable file
import Connector as connector
|
|
import Logger as logger
|
|
|
|
|
|
def main():
|
|
ExternalConnector=connector.Infomaniak("infomaniak.com/nic/update", "grug.cloud", "ddns-updater", "gTgN8gz5i40uBFunvP8M",syslog_option=True)
|
|
log = logger.Logger(syslog=True, debug=False)
|
|
log.info("script gestartet")
|
|
log.warn("warnung")
|
|
log.error("error")
|
|
log._debug("thing worked")
|
|
#good, IP invalid, nochg,
|
|
|
|
if __name__ == "__main__":
|
|
main()
|