Submitted by Hal9000 on Mon, 03/14/2011 - 15:07
Hello! I am using the Cluster DNS feature to automatically create zones on a slave DNS server when adding a domain in Virtualmin. Problem is, on the secondary server those zones are getting the IP 127.0.1.1 as master IP, which is obviously wrong. I checked the config and couldn't find any evidence of misconfiguration. Any ideas what could be wrong?
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Mon, 03/14/2011 - 17:44 Comment #1
Looks like Virtualmin isn't working out the IP address of the master system properly - this is usually done by finding the IP address for the hostname, but sometimes that is set to 127.0.0.1 in /etc/hosts .
The way to force use of a specific IP is to go to Webmin -> Servers -> BIND DNS Server -> Module Config -> Cluster slave servers , and set "Default master server IP for remote slave zones" to the right IP. This will only apply to zones created from now on though..
Submitted by Hal9000 on Mon, 03/14/2011 - 17:54 Comment #2
I always feel so embarassed when I submit an issue and you come up with these simple solutions, which I should have found out by myself. I fixed the /etc/hosts file actually, I guess it will be fine now. No idea why I didn't check that file after installing the virtual instance. I do usually... Thank you, as always.
Submitted by Issues on Mon, 03/28/2011 - 19:22 Comment #3
Automatically closed -- issue fixed for 2 weeks with no activity.