[Samba] bug in samba 4.1.17 ? changed CNAME record to other host

L.P.H. van Belle belle at bazuin.nl
Thu Mar 12 03:41:37 MDT 2015

Im testing out with some dns things.. 
And i think i have seen more people about this.. 
Debian 7 ( wheezy ) samba 4.1.17 debian backports. 
only 1 DC, no member, just 1 DC. 
I have added multiple DNS records and zones with the windows tool. 
sofare good, works ok... 
in one of my zones changed the CNAME of a record. 
for example. 
websitename1.domain.tld CNAME to serverhostname.internal.domain.tld
i changed 
websitename1.domain.tld CNAME to serverhostname2.internal.domain.tld

I did this this morning a few hours ago.. 
I noticed now few hours later, my changed records is gone.. 
but when i want to add a new CNAME for this record, the windows tools says it already exists. 
and a ping to this cname works fine, so the records is there and works. 
when i run : 
samba-tool dns query DC.internal.domain.tld domain.tld websitename1 CNAME 
( also tested with : samba-tool dns query DC.internal.domain.tld domain.tld websitename1.domain.tld CNAME ) 
result :  Name=, Records=0, Children=0

now i have 2 cnames to the same host..  
samba-tool dns query ADDC.internal.domain.tld domain.tld websitename2 CNAME 

result : 
CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, ttl=3600)
Did we hit a bug here? 


More information about the samba mailing list