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: 25823
Joined: Fri Sep 12, 2014 9:56 pm

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

Postby phoenix » Thu Aug 16, 2018 5:30 am

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Ace Suares
Posts: 36
Joined: Thu Aug 07, 2014 7:26 pm

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

Postby Ace Suares » Thu Aug 16, 2018 12:19 pm

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: 25823
Joined: Fri Sep 12, 2014 9:56 pm

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

Postby phoenix » Thu Aug 16, 2018 12:27 pm

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Ace Suares
Posts: 36
Joined: Thu Aug 07, 2014 7:26 pm

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

Postby Ace Suares » Fri Aug 17, 2018 3:16 am

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

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

Postby phoenix » Fri Aug 17, 2018 5:25 am

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168

Return to “Administrators”

Who is online

Users browsing this forum: Baidu [Spider] and 22 guests