[Samba] DNS Help Request

Rob Campbell robcampbell08105 at gmail.com
Sat Sep 10 19:49:41 UTC 2022


I don't run a separate server.  My router assigned IP.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.


On Sat, Sep 10, 2022 at 3:28 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Sat, 2022-09-10 at 13:35 -0500, Thomas Cameron via samba wrote:
> > On 9/9/22 18:20, Rob Campbell via samba wrote:
> > > nslookup 10.0.0.10
> > > 10.0.0.10.in-addr.arpa name = DC01.
> >
> > This is wrong, as I understand it. You want reverse ip addresses to
> > come
> > back with the FQDN, I think.
> >
> > Here's how my network responds with ip address lookups:
> >
> > [thomas.cameron at case Desktop]$ host case
> > case.tc.camerontech.com has address 172.31.100.4
> > [thomas.cameron at case Desktop]$ host case.tc.camerontech.com
> > case.tc.camerontech.com has address 172.31.100.4
> > [thomas.cameron at case Desktop]$ host 172.31.100.4
> > 4.100.31.172.in-addr.arpa domain name pointer
> > case.tc.camerontech.com.
> > [thomas.cameron at case Desktop]$ nslookup case
> > Server:               127.0.0.53
> > Address:      127.0.0.53#53
> >
> > Non-authoritative answer:
> > Name: case.tc.camerontech.com
> > Address: 172.31.100.4
> >
> > [thomas.cameron at case Desktop]$ nslookup case.tc.camerontech.com
> > Server:               127.0.0.53
> > Address:      127.0.0.53#53
> >
> > Non-authoritative answer:
> > Name: case.tc.camerontech.com
> > Address: 172.31.100.4
> >
> > [thomas.cameron at case Desktop]$ nslookup 172.31.100.4
> > 4.100.31.172.in-addr.arpa     name = case.tc.camerontech.com.
> >
> > Authoritative answers can be found from:
> >
> > [thomas.cameron at case Desktop]$
> >
> > I won't swear to it, but I am *pretty* sure that DNS is supposed to
> > return the FQDN.
> >
> > For reference, I run my own BIND server. I don't rely on Samba to do
> > DNS, I have a separate DNS server in my environment. My zone files
> > look
> > like this (this is two lines, in case it gets trimmed):
> >
> > [root at wintermute ~]# grep case /var/named/*
> > /var/named/100.31.172.in-addr.arpa:4  PTR     case.tc.camerontech.c
> > om.
> > /var/named/tc.camerontech.com:case    IN      1H      A       172.3
> > 1.100.4
> >
> > Hope this helps!
>
> Well it did, until you said that you run a separate dns server, what
> you do is up to you, but Samba does not recommend running such a dns
> server, unless it forwards everything for the AD domain to an AD DC.
>
> 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