Fixing DNS issues, should have been .kite and not .dev

This commit is contained in:
Jeff Morgan 2014-09-02 03:40:29 -07:00
parent 1b67cfc5c6
commit 37f19c97f8
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ Apps.restart = function (app, callback) {
}).run();
callback(null);
// Use dig to refresh the DNS
exec('/usr/bin/dig dig ' + app.name + '.dev @172.17.42.1 ', function() {});
exec('/usr/bin/dig dig ' + app.name + '.kite @172.17.42.1 ', function() {});
} else {
callback(null);
}

View File

@ -72,7 +72,7 @@ Docker.runContainer = function (app, image, callback) {
if (err) { callback(err, null); return; }
console.log('Started container: ' + container.id);
// Use dig to refresh the DNS
exec('/usr/bin/dig dig ' + app.name + '.dev @172.17.42.1 ', function() {});
exec('/usr/bin/dig dig ' + app.name + '.kite @172.17.42.1 ', function() {});
callback(null, container);
});
});