[Samba] [samba_upgradedns] Error parsing DNS data
rpenny at samba.org
Mon May 23 20:01:40 UTC 2016
On 23/05/16 19:45, Bouke J. Henstra wrote:
> Hello Rowland,
> [Quote Bouke Henstra]
> I am trying to change over from bind9 to internal dns.
> For some reason I keep getting the following error:
> Error parsing DNS data from '/opt/samba/private/dns/TH01.INET.zone' ()
> [Quote Rowland Penny
> Are you using flat files with Samba and Bind ??
> If so, what you are trying to do, will not work.
> Thank you very much for your reply.
> I am using flat files and bind.
> I am not sure how to proceed. I could not (yet) find documentation
> that applies to my situation.
> I think I have read something before about moving away from flat files
> but I can't find info online nor in my notes.
> I have found the following information but it seems not to be
> applicable to my situation:
> And I have spent quite some time online but could not figure out if I
> have to manually upgrade (and how) or that I can run a script.
> Could you please point me into the right direction?
> Many thanks.
> Kind regards,
The Samba DNS server expects to find the dns info in AD, so when you try
to upgrade from flatfiles to the internal DNS server, the upgrade cannot
find the required zone data.
All I can suggest, create a script to extract the data from the
flatfiles and then add it to AD with samba-tool. This may not work if
the domain dns zones etc don't exist in AD, so you may have to create
these as well.
Sorry if this sounds unhelpful, but I have never been in this situation
and cannot remember hearing of it before.
More information about the samba