Verified Commit 7fc4314d authored by Sebastiaan Deckers's avatar Sebastiaan Deckers 馃悜

feat: log DDNS updates

parent 39443708
......@@ -60,6 +60,8 @@ module.exports = async (fastify, options) => {
}
if (server.ipv4 === ip) {
return { ipv4: ip }
} else {
fastify.log.info({ msg: 'ddns-updated', ipv4: ip, server: serverId })
}
const apiOptions = fastify.configuration.constellix
const domainId = await getDomainId(apiOptions.domain, apiOptions)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment