[Samba] Multiple A records on my parent domain name are confusing hosts

Scott Goodwin scott at mimicsimulation.com
Tue Oct 8 11:23:21 MDT 2013

I'm using Samba 4.0.9, Bind 9.9.4 w/ dlz

My domain is example.com
My Samba4 server is myserver.example.com
myserver has two nics: and
My externally hosted web site is www.example.com, and is hosted at
I have an A and CNAME in DNS like so:

 @     A
www   CNAME  example.com.

The above allows internal web browsers to access the external site via
www.example.com or example.com. This works great.

The problem is that every ten minutes when samb's dns update happens, it
keeps putting the following two entries in, which points internal hosts to
the dns server, instead of  the externally hosted web site:
@     A
@     A

Why do these keep showing up?  I'm sure there is a place that the info is
coming from, but I don't know where, and I desperately need to prevent this
from happening.  I mean, don't get me wrong, I realize what the records
mean, but what I'm trying to do is prevent them from repopulating and
preventing my internal hosts from browsing the web site.  I didn't have
this problem when I could edit the bind files directly, but now that I'm
using bind_dlz for samba, I'm a little lost.


More information about the samba mailing list