On Tue Dec 19 19:30:36 2023 "Samba @ Pegasusnz" <samba at
pegasusnz.com> wrote:>
> The zone is the domain e.g. hprs.locl
> And the name is the name of the item you want to delete e.g. dc1
Thanks! That did it.
--Mark
> > On 20/12/2023, at 11:32?AM, Mark Foley via samba <samba at
lists.samba.org> wrote:
> >
> > On Tue Dec 19 16:00:39 2023 Rowland Penny via samba <samba at
lists.samba.org <mailto:samba at lists.samba.org>> wrote:
> >>
> >> On Tue, 19 Dec 2023 15:46:24 -0500
> >> Mark Foley via samba <samba at lists.samba.org> wrote:
> >>
> >>> I've moved my new DC from one location to another test
location
> >>> within the office where it will be deployed. The new test
location
> >>> connects to subnet 192.168.0.1 rather than 192.168.0 as I used
when
> >>> doing the initial setup.
> >>>
> >>> I've been going through the wiki verifying zones, rDNS,
etc. On the A
> >>> record test I get:
> >>>
> >>> # host -t A dc1.hprs.locl
> >>> dc1.hprs.locl has address 192.168.0.2
> >>> dc1.hprs.locl has address 24.142.169.13
> >>> dc1.hprs.locl has address 192.168.0.126
> >>> dc1.hprs.locl has address 192.168.1.60
> >>>
> >>> The first 3 of these are wrong/obsolete. The /etc/hosts file
has the
> >>> last entry (1.60) which is correct. My DNS backend is Samba
> >>> Internal.
> >>>
> >>> How do I remove these other A records?
> >>>
> >>> Thanks --Mark
> >>>
> >>
> >> samba-tool dns delete --help
> >>
> >> Rowland
> >
> > Sorry to be an idiot on this ... the --help info gave:
> >
> > samba-tool dns delete <server> <zone> <name>
<A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>
> >
> > I'm not sure what the <zone> or <name> are supposed to
be.
> >
> > So far:
> >
> > samba-tool dns delete dc1 <zone?> <name?> A 192.168.0.2
> >
> > I hesitate to just try things.
> >
> > Thanks --Mark
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
>