This error might occur with the cytopia/bind
container when using docker-compose up -d
.
The following was tested on Ubuntu 19.10
Delete the systemd-resolved stub-file first:
sudo rm /etc/resolve.conf
Symlink the systemd-resolved file:
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Edit the systemd-resolved configuration:
sudo nano /etc/systemd/resolved.conf
Change the following in it:
[Resolve]
DNS=127.0.0.1 8.8.8.8
FallbackDNS=1.1.1.1 8.8.4.4
Restart systemd-resolved to validate the configuration:
sudo systemctl restart systemd-resolved.service
Save somewhere the dbox tool, change the path to your devilbox installation and set it excutable chmod u+x dbox.sh
; else you'll have to manually stop systemd-resolved
, start devilbox and start systemd-resolved
again.
The docs might give the solution here (check /etc/resolv.conf
to get your running network manager / DNS resolver).