On Tue, 8 Sep 2015 09:19:22 -0400 Robert Moskowitz <rgm at htt-consult.com> wrote:> > On 09/08/2015 09:04 AM, Jim Seymour wrote: >[snip]> > > > And the zone file on deepthought might read something like... > > > > somepc IN A 192.168.0.10[snip]> > Problem with the AD DC is that it lives in a sub-domain, > > "addc.example.com", and the zone for that sub-domain is a dlz. So... > > how do I set/assign client PCs' IP addresses? > > See my recent thoughts on this.Which ones? You've had a lot of thoughts, recently :)> With static IP address mapping in > DHCP, you can extend it to static zone files.[snip] Er... what? All I want to do is add (and remove) forward and reverse records to the DLZ zones in which the AD DC and its clients reside. I think I found it (dunno why I did not, in the first place): https://wiki.samba.org/index.php/DNS_Administration So, for the example I gave, above: samba-tool dns add deepthought.addc.example.com addc.example.com somepc A 192.168.0.10 and... samba-tool dns add deepthought.addc.example.com 0.168.192.in-addr.arpa 10 PTR somepc.addc.example.com (N.B.: "deepthought.example.com" will also work, for the first parameter to the "add"s, above, in my case, as deepthought.example.com and deepthought.addc.example.com are the same thing, in my case.) Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at <http://jimsun.LinxNet.com/contact/scform.php>.
On 09/08/2015 10:21 AM, Jim Seymour wrote:> On Tue, 8 Sep 2015 09:19:22 -0400 > Robert Moskowitz <rgm at htt-consult.com> wrote: > >> On 09/08/2015 09:04 AM, Jim Seymour wrote: >> > [snip] >>> And the zone file on deepthought might read something like... >>> >>> somepc IN A 192.168.0.10 > [snip] >>> Problem with the AD DC is that it lives in a sub-domain, >>> "addc.example.com", and the zone for that sub-domain is a dlz. So... >>> how do I set/assign client PCs' IP addresses? >> See my recent thoughts on this. > Which ones? You've had a lot of thoughts, recently :) > >> With static IP address mapping in >> DHCP, you can extend it to static zone files. > [snip] > > Er... what? > > All I want to do is add (and remove) forward and reverse records to the > DLZ zones in which the AD DC and its clients reside. > > I think I found it (dunno why I did not, in the first place): > > https://wiki.samba.org/index.php/DNS_Administration > > So, for the example I gave, above: > > samba-tool dns add deepthought.addc.example.com addc.example.com > somepc A 192.168.0.10 > > and... > > samba-tool dns add deepthought.addc.example.com > 0.168.192.in-addr.arpa 10 PTR somepc.addc.example.com > > (N.B.: "deepthought.example.com" will also work, for the first > parameter to the "add"s, above, in my case, as deepthought.example.com > and deepthought.addc.example.com are the same thing, in my case.)Oops. I missed that you had missed this! When you said flat zone file, I took you literally to mean text-style dns zone files. Not use samba-tool to maintain the ldap entries used for dlz.
NOTE: Please honour the "Reply-To" and do not "Reply-All". I'm reading the mailing list. I wouldn't be posting to it if I was not and I don't need two copies. Thanks! On Tue, 8 Sep 2015 10:32:33 -0400 Robert Moskowitz <rgm at htt-consult.com> wrote:>[snip]> > Oops. I missed that you had missed this! When you said flat zone > file, I took you literally to mean text-style dns zone files.I'll be using traditional (flat) zone files for everything else, but I'm going to let the Samba AD DC work the way it wants to. That means dynamic zone files for that sub-domain.> Not > use samba-tool to maintain the ldap entries used for dlz.I'm not certain what that meant? Regards, Jim -- Note: My mail server employs *very* aggressive anti-spam filtering. If you reply to this email and your email is rejected, please accept my apologies and let me know via my web form at <http://jimsun.LinxNet.com/contact/scform.php>.