I am keeping to the internal, I am not a fan of bind in this scenario.
Gunter so even though it lists that is just an RPC call but actually the working record needs a restart?
I am trying to do a webmin module for Samba4 rather than use any RSAT tools.
The DNS part is a little confusing :)
Stuart
-----Original message-----
> From:Günter Kukkukk <li...@kukkukk.com>
> Sent: Tuesday 8th April 2014 19:15
> To: Stuart Naylor <stuarti...@thursbygarden.org>; Marc Muehlfeld <sa...@marc-muehlfeld.de>; sa...@lists.samba.org
> Subject: Re: [Samba] DNS record info (samba-tool)
>
> Am 08.04.2014 19:08, schrieb Stuart Naylor:
> > root@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.
> >
> > any more info anyone?
> >
> > Thanks
> >
> > Stuart
> >
> >
> >
> >
> > -----Original message-----
> >> From:Marc Muehlfeld <sa...@marc-muehlfeld.de>
> >> Sent: Tuesday 8th April 2014 17:55
> >> To: Stuart Naylor <stuarti...@thursbygarden.org>; sa...@lists.samba.org
> >> Subject: Re: [Samba] DNS record info (samba-tool)
> >>
> >> Hello Stuart,
> >>
> >> Am 08.04.2014 18:08, schrieb Stuart Naylor:
> >>> But if I wanted to browse and delete a record how do I do it?
> >>
> >>
> >> Have you seen
> >> https://wiki.samba.org/index.php/DNS_Administration
> >>
> >>
> >>
> >> Regards,
> >> Marc
> >>
>
> Are you using the internal samba dns server?
> If so, you need to restart samba after adding a dns zone. The zone was
> added with rpc calls to the directory, but the dns server doesn't
> notice this atm .
> Note - also with the bind dlz module, sometimes wrong results have been seen
> after adding a zone. So one might also here need to restart bind/samba.
>
> Cheers, Günter
>
> --
>
>
there are (at least) 2 ways to manipulate samba (windows) dns entries:
- using dce/rpc calls to modify the AD directory directly
(e.g. used by samba-tool, MS DNS Manager GUI, ...)
- using dynamic DNS
(e.g. ISC nsupdate, MS ipconfig /registerdns, ...)
When samba starts, the internal dns server reads all currently defined
zones (from ADS) - and the containing dns records - into its _own_ data structures.
When a new zone is added, the dce/rpc tools will show it,
but the internal dns must be restarted.
When you then add new records to any now existing zone, the dns server
will also track them. So no samba restart is needed.
Cheers, Günter