Need to reconfigure the dnscache IP's

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
tonyawbrey
Posts: 9
Joined: Thu Sep 04, 2014 7:16 am

Need to reconfigure the dnscache IP's

Post by tonyawbrey »

I changed the configuration of our internal network and need to reconfigure the dnscache IP's, I have searched and searched and cannot figure out how to do this. Any help would be greatly appreciated.


Thanks!
ninjavz
Posts: 25
Joined: Fri May 15, 2015 9:40 am

Need to reconfigure the dnscache IP's

Post by ninjavz »

I have a similar problem. DNSCache seems to copy lookups from an outside DNS Server, so when it resolves the server address we get the public IP, but we need it to resolve to the internal with our own DNS Servers. Without this, a lot of mail gets deferred.
Is there a way to tell DNSCache where to get its IPs (which DNSs to use)? /etc/resolv.conf?
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Need to reconfigure the dnscache IP's

Post by jorgedlcruz »

Hi ninjavz,
In the next Config Guide, you can search by dns - https://files.zimbra.com/docs/config-guide/index.html
And you will obtain the next, pay attention to the value zimbraDNSMasterIP, so you need to play with it, in the same Config Guide you can select more Columns to see better info.


The proper values are:
zmprov ms `zmhostname` +zimbraDNSMasterIP 8.8.8.8
Or if you want to remove some old DNS server:
zmprov ms `zmhostname` -zimbraDNSMasterIP OLDIPDNSSERVER
Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
ninjavz
Posts: 25
Joined: Fri May 15, 2015 9:40 am

Need to reconfigure the dnscache IP's

Post by ninjavz »

Great info.

Just one more thing before testing, I would like to know the current DNSMasterIP, how can I see that?



Regards
ninjavz
Posts: 25
Joined: Fri May 15, 2015 9:40 am

Need to reconfigure the dnscache IP's

Post by ninjavz »

Will reply myself since I found it:

# su - zimbra

$ zmprov getServer `zmhostname` | grep DNSMasterIP
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Need to reconfigure the dnscache IP's

Post by jorgedlcruz »

Nice! I will create a Wiki article today about dnscache as we don't have too much info in the Wiki.



Have a good day.
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
Post Reply