Bind Module: 127.0.0.1 set for master on slave DNS

3 posts / 0 new
Last post
#1 Mon, 05/18/2009 - 12:31
tuaris

Bind Module: 127.0.0.1 set for master on slave DNS

I recently noticed this happening when I found my slave DNS server's were not resolving any new domains I created. Apparently this "bug" started on a recently update to Webmin, not sure which one.

I have setup webmin's BIND module to automatically create slave zones on a secondary server through RPC.

The problem is that the slave zone is created with "masters {127.0.0.1;};" in the named.conf file. Thus resulting in the following error: "received notify for zone not authoritative"

Mon, 05/18/2009 - 12:39
Joe
Joe's picture

This isn't a bug. It's a problem with your /etc/hosts file. You've got your hostname in /etc/hosts pointing to the loopback address, which is nonsensical in a production server with a permanent public IP.

Edit /etc/hosts and change the hostname to point to a real IP, and make 127.0.0.1 point to localhost.localdomain localhost

--

Check out the forum guidelines!

Mon, 05/18/2009 - 12:53 (Reply to #2)
tuaris

Thanks, don't know how that got their, it must have happened when I installed and update on the OS.

Topic locked