[Samba] Samba4 Internal DNS CNAME entries

Kai Blin kai at samba.org
Fri Jan 4 07:54:29 MST 2013


On 2013-01-04 15:14, Dominic Evans wrote:
> I am currently in the progress of testing the replacement of a Windows
> 2003 DC with a Samba4-based one.
> 
> In the DNS of old Windows DC we had CNAME entries to alias
> www.domain.com to serverX.domain.com and ftp.domain.com to
> serverY.domain.com. This is working and can be tested successfully
> with dig

Is domain.com the zone managed by the internal DNS server? There's a
known bug about CNAMEs pointing to A records outside the database,
see https://bugzilla.samba.org/show_bug.cgi?id=9409

> The CNAME entries were correctly replicated across to the internal DNS
> server on the new Samba4 DC after it joined the domain, but querying
> that server for www.domain.com through dig returns no results.
> However, samba-tool dns query localhost does correctly show the CNAME
> entry as present.
> 
> Does the internal DNS server of samba4 not yet support CNAME lookups?

It does, with the exception of CNAMEs that point to outside A/AAAA records.

We also never set the recursion bit on error returns, which is what
causes the warning in dig. Feel free to ignore that.

Cheers,
Kai

-- 
Kai Blin
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/


More information about the samba mailing list