diff --git a/myDNS.js b/myDNS.js index 30496eb..482f199 100644 --- a/myDNS.js +++ b/myDNS.js @@ -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); + }); }); })(); \ No newline at end of file