I heve error during script installation. It’s exactly as described in this topic on Jun '18:
But there were no any solution provided.
System: Ubuntu 18.04 x64. Virtualization: VMware
Before running script internet on vps is working perfectly. After running script it fails durring instalaltion process with “unable to resolve” errors. From this point internet on vps completly broken: unable to run any command that rely on internet connection. Even ping by ip address not working.
After looking in source code I found that this part in /setup/system.sh leads to problems:
# First we'll disable systemd-resolved's management of resolv.conf and its stub server. # Breaking the symlink to /run/systemd/resolve/stub-resolv.conf means # systemd-resolved will read it for DNS servers to use. Put in 127.0.0.1, # which is where bind9 will be running. Obviously don't do this before # installing bind9 or else apt won't be able to resolve a server to # download bind9 from. rm -f /etc/resolv.conf tools/editconf.py /etc/systemd/resolved.conf DNSStubListener=no echo "nameserver 127.0.0.1" > /etc/resolv.conf # Restart the DNS services. restart_service bind9 systemctl restart systemd-resolved
Changing /etc/resolv.conf to
DNSStubListener=no in /etc/systemd/resolved.conf
Repairs internet connections.
But that’s all I find out. Still looking for a solution to properly install mail-in-box.