After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Post by phoenix »

Ace Suares wrote:Qanah, what is your take on this?
You'll be waiting a long time for an answer, Quanah no longer works for Zimbra.My advice would be to use a DNS server & caching Resolver separate from your ZCS server.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Ace Suares
Advanced member
Advanced member
Posts: 63
Joined: Thu Aug 07, 2014 7:26 pm

Re: After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Post by Ace Suares »

In the backup script I put the following:

/etc/init.d/zimbra stop > /dev/null
#
# Kill leftover Zimbras
#
pkill -9 -u zimbra
echo " - Server Down: `date +%T`"
# Stupid DNS cache
su - zimbra -c 'zmdnscachectl start'
#
# Save ldap database, that would be 80GB otherwise.
#
su - zimbra -c '/opt/zimbra/libexec/zmslapcat /opt/zimbra/data/ldap/mdb/'

Now it works again as it should. Not very elegant. How can shutting down the Zimbra server take down the dns cache of the whole server. Not good.
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Post by phoenix »

Ace Suares wrote:Now it works again as it should. Not very elegant. How can shutting down the Zimbra server take down the dns cache of the whole server. Not good.
It's not meant to be the DNS cache for the whole server unless you designate it as such, as I've already said, you should use a separate DNS server & caching Resolver if you want your server to work if dnscache goes down for any reason..
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Ace Suares
Advanced member
Advanced member
Posts: 63
Joined: Thu Aug 07, 2014 7:26 pm

Re: After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Post by Ace Suares »

So on what port and IP should that other DNS server run?
phoenix
Ambassador
Ambassador
Posts: 27272
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: After upgrade to 8.8.8 DNS-cache does not work when zimbra down

Post by phoenix »

If you're use another DNS instead of dnscache then I'm assuming it would be on another server on your LAN, would that be the idea? If that's what you're doing then it 's just the same port as usual i.e.53 and obvious you'd need it's IP specified via dhcp or manually on every other machine on your LAN.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Post Reply