samba4 from BDC to PDC
Michael Wood
esiotrot at gmail.com
Wed Oct 26 04:27:45 MDT 2011
On 25 October 2011 16:59, Daniele Dario <d.dario76 at gmail.com> wrote:
> On Tue, 2011-10-25 at 09:26 +0200, Michael Wood wrote:
>> On 24 October 2011 19:01, Gémes Géza <geza at kzsdabas.hu> wrote:
>> > 2011-10-24 16:54 keltezéssel, Daniele Dario írta:
>> [...]
>> >> So it seems that the reversed zone is present.
>> >> Doing a nslookup it gives the right hostname.domain.com but it won't
>> >> work with the direct zone.
>> >>
>> >> What am I doing wrong?
>> >> Daniele.
>> >>
>> > Recently there was a tread about some updates for samba dlz module to
>> > allow dynamic ptr zones:
>> > https://lists.samba.org/archive/samba-technical/2011-October/079834.html, so
>> > maybe you should try a recent git pull?
>>
>> I think he's saying that the reverse DNS is working correctly, but the
>> forward DNS is not working.
>>
>> Anyway, it looks like he has those patches already, since he's running
>> 4.0.0alpha18-GIT-3ae478b.
>>
>> If you're using the DLZ module, are you still supposed to run samba_dnsupdate?
Nobody answered this. It doesn't make sense to me that
samba_dnsupdate should be needed if samba is itself handling the DNS
records. But maybe there is a reason that samba_dnsupdate is still
necessary.
As I said before, I've not tried this out.
>> Daniele, it looks like bind is not even trying to do anything with the
>> forward zone. Maybe the forward zone is somehow not configured
>> properly in Samba. I haven't tried setting this up, so I don't know
>> what might be wrong with it.
>>
> Yes, yesterday trying to use the dlz driver bind was able to start and
> it seemed that the reverse zone was up but the forward no.
>
> Today if i run named with the dlz driver it says
> 25-Oct-2011 16:44:14.052 samba_dlz: starting configure
> 25-Oct-2011 16:44:14.162 zone 12.168.192.in-addr.arpa/NONE: number of
> nodes in database: 0
> 25-Oct-2011 16:44:14.162 zone 12.168.192.in-addr.arpa/NONE: loaded
OK, so it looks like it loaded the reverse zone.
> 25-Oct-2011 16:44:14.165 samba b9_putrr: unhandled record type 65282
This seems to have something to do with WINS:
http://tools.ietf.org/html/draft-levone-dns-wins-lookup-00
> 25-Oct-2011 16:44:14.167 zone 12.168.192.in-addr.arpa/NONE: has 0 SOA
> records
hmmm... A zone needs an SOA record.
> 25-Oct-2011 16:44:14.167 samba_dlz: Failed to configure zone
> '12.168.192.in-addr.arpa'
> 25-Oct-2011 16:44:14.168 load_configuration: bad zone
> 25-Oct-2011 16:44:14.168 loading configuration: bad zone
> 25-Oct-2011 16:44:14.168 exiting (due to fatal error)
This is probably because there's no SOA record. I have no idea why
there might not be an SOA record, though. Especially since it was
working yesterday.
> Looking in dlz_bind9.c, the "unhandled record type" comes from row 189
> in b9_format and it seems to me that 65282 can't be a DNS record type.
As mentioned above it seems to be something to do with WINS.
> Is it possible that I have these issues because the SBS AD contains
> crap? (I joined the samba4 server to an MS SBS 2003 which was the DC for
> my domain so I didn't provision a new domain).
The unknown records are probably because of that, but I don't know if
your other problems are caused by that.
--
Michael Wood <esiotrot at gmail.com>
More information about the samba-technical
mailing list