[Samba] Block samba hosts by domain
Rowland Penny
rpenny at samba.org
Thu Nov 10 20:52:59 UTC 2016
On Thu, 10 Nov 2016 12:37:57 -0800
Linda W via samba <samba at lists.samba.org> wrote:
> Erick Ocrospoma via samba wrote:
> > On 10 November 2016 at 07:51, Vinicius Bones Silva via samba <
> > samba at lists.samba.org> wrote:
> >
> >
> >> PROBABLY its a problem with your reverse dns resolution.
> >>
> > Hi,
> >
> > DNS resolution seems to work fine.
> >
> ----
> Vinicius didn't ask about DNS resolution, exactly, but
> *reverse* DNS resolution -- i.e. looking up a name from an address.
>
> At best, nslookup is the wrong tool:
> > [root at server0 ~]# nslookup 172.25.0.100
> > Server: 172.25.0.254
> > Address: 172.25.0.254#53
> >
> ---
> as the above shows: not only does nslookup on the ip not
> return the name, but it returns the IP for a different machine!
>
well, yes it does return the IP of a different machine, it first
returns the ip address of the server returning the result.
if you continue reading the result, you will see this:
Address: 172.25.0.100
and the reverse lookup returns:
name = desktop.example.com.
So the DNS is working.
I have never tried to do this, but might this way work ? :
hosts allow = 172.25.0. %M.example.com
Rowland
More information about the samba
mailing list