Need to reconfigure the dnscache IP's

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

Need to reconfigure the dnscache IP's

Postby tonyawbrey » Thu Feb 12, 2015 3:48 pm

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

Postby ninjavz » Fri May 15, 2015 10:20 am

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: 2773
Joined: Thu May 22, 2014 4:47 pm

Need to reconfigure the dnscache IP's

Postby jorgedlcruz » Fri May 15, 2015 11:07 am

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

Postby ninjavz » Fri May 15, 2015 11:27 am

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

Postby ninjavz » Fri May 15, 2015 1:48 pm

Will reply myself since I found it:

# su - zimbra

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

Need to reconfigure the dnscache IP's

Postby jorgedlcruz » Fri May 15, 2015 1:52 pm

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/

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests