Samba4 internal dns debug level

Kai Blin kai at samba.org
Wed Apr 4 07:55:25 MDT 2012


On 2012-04-04 14:47, steve wrote:

> Thanks Kai, that's great. How are we fixed for doing a make install over
> the top of what's already there?
> 
> What I'd like is the d3 as it was without the internal dns, but with the
> option of still having it at a different d level.

Attached patch should fix it, just apply that, recompile and do a new
make install.

> While we're here:
> Afet battling with bind for too long, the forward and reverse zone seem
> to be working with internal.  I created a reverse zone and it injected
> the reverse record without me doing anything.  The xp client took its IP
> from a bog standard adsl router. Does this look correct?

As I said, as soon as there's a reverse zone set up, the windows clients
will register their PTR records as well. So yes, that's expected.

> hh3:/home/steve # samba-tool dns query 192.168.1.3 hh3.site marina14 ALL
> Password for [Administrator at HH3.SITE]:
>   Name=, Records=1, Children=0
>     A: 192.168.1.23 (flags=f0, serial=110, ttl=1200)
> 
> hh3:/home/steve # samba-tool dns query 192.168.1.3
> 1.168.192.in-addr.arpa 23 ALL
> Password for [Administrator at HH3.SITE]:
>   Name=, Records=1, Children=0
>     PTR: marina14.hh3.site (flags=f0, serial=110, ttl=1200)

I don't really know what samba-tool dns is displaying on the query.
samba-tool dns doesn't talk to the DNS server anyway, it talks to the
DCERPC dnsserver pipe. I'd suggest using a tool like "host" or "dig" to
figure out how things look on the DNS side of things.

> If so then wonderful! I'm just praying that my Linux clients will do the
> same.

I've always used static DNS for my linux clients. Absolutely no idea.
Not really a Samba-related issue, though. ;)

> Just one last thing. Even though I have a ticket, it asks me for the
> password for every query??

samba command line tools only use your kerberos ticket when you ask them
to (using the -k flag). Assuming samba-tool follows the pattern, you
should be running "samba-tool dns query 192.168.1.3 hh3.site marina14
ALL -k" or the like.

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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-dns-Debug-at-level-5-not-2.patch
Type: text/x-patch
Size: 2751 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120404/e3a080f0/attachment.bin>


More information about the samba-technical mailing list