Make unbound reply on cloudron network

Because of the docker upgrade, dnsbl queries are failing again
since we are not using the unbound server from the containers.

For some reason, docker cannot query 127.0.0.1 (https://github.com/docker/docker/issues/14627).

Make unbound listed on the cloudron network and let docker proxy
DNS calls to unbound (docker always use the embedded DNS server
when using UDN).

See also #130
This commit is contained in:
Girish Ramakrishnan
2017-01-12 17:42:53 -08:00
parent 878878e5e4
commit 055e41ac90
2 changed files with 5 additions and 7 deletions

View File

@@ -55,7 +55,6 @@ function initialize(callback) {
async.series([
stopContainers.bind(null, existingInfra),
createDockerNetwork,
startAddons.bind(null, existingInfra),
removeOldImages,
startApps.bind(null, existingInfra),
@@ -117,10 +116,6 @@ function stopContainers(existingInfra, callback) {
callback();
}
function createDockerNetwork(callback) {
shell.execSync('createDockerNetwork', 'docker network create --subnet=172.18.0.0/16 cloudron || true', callback);
}
function startGraphite(callback) {
const tag = infra.images.graphite.tag;
const dataDir = paths.DATA_DIR;