[Samba] DNS issues when setting up AD

Rob Townley rob.townley at gmail.com
Mon Oct 4 20:25:05 UTC 2021


> # host -t SRV dc01.test.local
> ;; connection timed out; no servers could be reached
>
> # nslookup 10.0.0.10
> ** server can't find 10.0.0.10.in-addr.arpa: NXDOMAIN

Append the numeric IP address of the SaMBa Domain Controller, lets call it
${DC} to the end of the nslookup command line:
  nslookup 10.0.0.10  10.0.0.*${DC}*
  nslookup -type=*TXT*  10.0.0.*${DC}*
  nslookup -type=*SRV*  10.0.0.*${DC}*






On Sat, Oct 2, 2021 at 2:37 AM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Sat, 2021-10-02 at 01:50 -0400, Rob Campbell via samba wrote:
> > I'm just trying to set up a small domain at home with some vms.  I
> > have my
> > main server doing all the work.  I have samba set up and I am able to
> > access it via cockpit and I can access the ldap schema and I've added
> > contacts, users and ous but I can't get my vm to join the domain.
>
> It sounds like you have set up Samba as an AD DC, if so, then it is
> already joined to the domain through the provision and you join
> computers (or VM's) to it.
>
> >   It seems
> > that all my issues are resolving around dns but I can't get it
> > working.  I
> > can't run dnsmasq while samba is running because they both run on
> > port 53.
>
> You cannot run another dns server on an AD DC (unless it is Bind9 using
> bind_dlz), the AD DC dns server is authoritative for the AD dns domain.
>
> > What do I do?  Samba and dns need to be on the same server.
>
> They are, just not the dns server you want to use.
>
> >
> > $ sudo realm join dc01.test.local -U administrator
> > realm: No such realm found
>
> No, that isn't how you join a DC.
> >
> > $ sudo realm join 10.0.0.10 -U administrator
> > Password for administrator:
> > See: journalctl REALMD_OPERATION=r924632.1213569
> > realm: Couldn't join realm: Insufficient permissions to join the
> > domain
> >
> > # host -t SRV dc01.test.local
> > ;; connection timed out; no servers could be reached
> >
> > # nslookup 10.0.0.10
> > ** server can't find 10.0.0.10.in-addr.arpa: NXDOMAIN
>
> You appear to be using the wrong dns server.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list