add refresh for dns

This commit is contained in:
gjudic 2021-01-06 19:57:10 +01:00
parent 755979f99d
commit 08a4c9b155

View File

@ -18,5 +18,8 @@ var ovh = require('ovh')({
console.log(err || result);
console.log("Le domaine " + element.domain + " a ete match avec l'IP " + myip);
});
ovh.request('POST', '/domain/zone/' + element.domain + '/refresh', function (err, result) {
console.log(err || result);
});
});
})();