[Samba] DNS record info (samba-tool)

Stuart Naylor stuartiannaylor at thursbygarden.org
Tue Apr 8 12:25:56 MDT 2014


Its just not that clear and managed to guesstimate that command from googling and playing.

Anyone got any info on the samba-tool dns methods especially records.

If have got @ ALL for a zone query.

Then the documentation gives a dns add as samba-tool dns add SAMBA1.SAMBA4.LAN 1.168.192.in-addr.arpa 32 PTR SAMBA1.SAMBA4.LAN --username=administrator

whilst the command line gives Usage: samba-tool dns add <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>

which maybe its me but I know the above works but looking at the CLI I am wondering how?

Stuart



 
 
-----Original message-----
> From:Marc Muehlfeld <samba at marc-muehlfeld.de>
> Sent: Tuesday 8th April 2014 18:28
> To: Stuart Naylor <stuartiannaylor at thursbygarden.org>; samba at lists.samba.org
> Subject: Re: [Samba] DNS record info (samba-tool)
> 
> Am 08.04.2014 19:08, schrieb Stuart Naylor:
> > root at samba1:~# samba-tool dns query SAMBA1.SAMBA4.LAN 1.168.192.in-addr.arpa @ ALL --username=administrator       Password for [SAMBA4\administrator]:
> >    Name=, Records=2, Children=0
> >      SOA: serial=2, refresh=900, retry=600, expire=86400, minttl=3600, ns=samba1.samba4.lan., email=hostmaster.samba4.lan. (flags=600000f0, serial=2, ttl=3600)
> >      NS: samba1.samba4.lan. (flags=600000f0, serial=1, ttl=3600)
> >    Name=32, Records=1, Children=0
> >      PTR: SAMBA1.SAMBA4.LAN (flags=f0, serial=2, ttl=900)
> >
> >
> > @ ALL seems to do it.
> > trying to use samba-tool and not the RSAT tools.
> 
> The Wiki HowTo describes both.
> 
> 
> 
> > any more info anyone?
> 
> What exactly are you missing?
> 
> 
> Regards,
> Marc
> 
> 


More information about the samba mailing list