add refresh for dns
This commit is contained in:
parent
755979f99d
commit
08a4c9b155
3
myDNS.js
3
myDNS.js
@ -18,5 +18,8 @@ var ovh = require('ovh')({
|
|||||||
console.log(err || result);
|
console.log(err || result);
|
||||||
console.log("Le domaine " + element.domain + " a ete match avec l'IP " + myip);
|
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);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
})();
|
})();
|
Loading…
Reference in New Issue
Block a user