[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:52:20 MDT 2015

In addition. 

im using the bind9_DLZ. 

samba-tool dbchecks all ok, reindexed etc, no errors. 

and trying to delete with : 
samba-tool dns delete DC.internal.domain.tld domain.tld websitename1 CNAME serverhostname.internal.domain.tld
samba-tool dns delete DC.internal.domain.tld domain.tld websitename1.domain.tld CNAME serverhostname.internal.domain.tld

results in :  ERROR: Record does not exist

anyone any suggestion? 



>-----Oorspronkelijk bericht-----
>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] 
>Namens L.P.H. van Belle
>Verzonden: donderdag 12 maart 2015 10:42
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] bug in samba 4.1.17 ? changed CNAME record 
>to other host
>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? 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list