We are running a Zimbra server on 16.04. today we changed the ip address and location of the server. Most issues have been resolved other than name resolution. The server is listening on but unable to resolve. If we change resolv.conf to we can resolve, However, resolve.conf will get overwritten of course. interfaces is set up correctly with dns-nameservers - not really sure why it is listening on

Trying to understand why resolv.conf is reverting to when dns-nameservers is correctly set? Note, we are not running dnsmasq. Also this is a basic virtual machine install (I dont believe Network Manager is installed)

Appologies if this is a simple question!

  • Have you reload the network configuration ? (or just reboot the machine ?)
    – Eraseth
    Jun 11, 2018 at 8:35
  • both, but more recently by restarting networking.service
    – skyman
    Jun 11, 2018 at 8:51
  • Can you reach the DNS server you try to configure ? (ping)
    – Eraseth
    Jun 11, 2018 at 8:58
  • so dns-nameservers is set to - which I can ping yes. I was trying to work out if there was any local DNS server running - but it appears not. netstat shows - is this normal?
    – skyman
    Jun 11, 2018 at 9:46

1 Answer 1


The solution was as follows:

Zimbra does run a DNS cache which must be configured to reference an appropriate DNS server.

to check current DNS

zmprov getServer `zmhostname` | grep DNSMasterIP

to remove old DNS

zmprov ms `zmhostname` -zimbraDNSMasterIP

to add new DNS

zmprov ms `zmhostname` +zimbraDNSMasterIP

Zimbra's dnscache listens on - we had the intenal reference DNS set to an old internal dns server rather than an external one.

dnscache will override resolve.conf in Ubuntu resetting it to

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .