Install problem \ DNS errors \ installation stuck

Before im install miab, and no have problems.

Today i buy vps in my country with clean 18.04.
I have many errors:

Installing nsd (DNS server)…

FAILED: apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install nsd ldnsutils openssh-client
Reading package lists...
Building dependency tree...
Reading state information...
openssh-client is already the newest version (1:7.6p1-4ubuntu0.3).
The following additional packages will be installed:
  libevent-2.1-6 libldns2
The following NEW packages will be installed:
  ldnsutils libevent-2.1-6 libldns2 nsd
0 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,144 kB of archives.
After this operation, 3,532 kB of additional disk space will be used.
Err:1 bionic/main amd64 libevent-2.1-6 amd64 2.1.8-stable-4build1
  Temporary failure resolving ''
Err:2 bionic/universe amd64 nsd amd64 4.1.17-1build1
  Temporary failure resolving ''
Err:3 bionic/main amd64 libldns2 amd64 1.7.0-3ubuntu4
  Temporary failure resolving ''
Err:4 bionic/universe amd64 ldnsutils amd64 1.7.0-3ubuntu4
  Temporary failure resolving ''
E: Failed to fetch  Temporary failure resolving ''
E: Failed to fetch  Temporary failure resolving ''
E: Failed to fetch  Temporary failure resolving ''
E: Failed to fetch  Temporary failure resolving ''
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

After i watch in my resolv.conf i see
Is it too early to change the dns server on the system?

p.s. After im change resolv to and install need packages (ldnsutils libevent-2.1-6 libldns2 nsd), and restart mailinabox, installation stuck on

Mail-in-a-Box Version:  v0.44
Updating system packages...
Installing system packages...
Initializing system random number generator...
Firewall is active and enabled on system startup
Installing nsd (DNS server)...
Generating DNSSEC signing keys...
Installing Postfix (SMTP server)...

(more than 20 mins)
If i try run mailinabox again I get a certbot installation error since the dns is not working

p.p.s. Sorry for my pure english.


Who is your VPS provider? I suspect that their Ubuntu image is perhaps not standard …

Just throwing an idea out there … destroy and reinstall the OS from scratch.

Before you begin installing MiaB check that their resolver is resolving:


If it isn’t then contact your provider as you are having connectivity issues. It may be something simple, or it may not be - I am not a networking person.

Let me know what happens…

Yep, i think too.


Non-authoritative answer:
Address: 2001:67c:1562::18
Address: 2001:67c:1562::15

When I encounter the issue you had with DNS lookups on install, I generally add an entry to the /etc/hosts file for the repository.

If you did the nslookup after reinstall, it looks like things are better already. :slight_smile:

great idea, forgot about that!

p.s. I reinstall os, nslookup before install

1 Like

it seems i found a solution. Add forward ip in named.conf, and installation goes without errors

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.