[Samba] Internal DNS listen address

Alex Winzer alex.e-mail at gmx.de
Wed Oct 7 21:55:19 UTC 2015


Hello

On 07.10.15 23:35, John Gardeniers wrote:
> Is it possible to have Samba4 internal DNS listen only on specific IP 
> address(es)? We have 2 IP addresses on our DC and don't want the 
> Samba4 DNS listening on one of them as it is to be used for an 
> independent BIND DNS service. For those who may be wondering why, it's 
> because Samba4's DNS doesn't do everything we want or need and using 
> BIND_DLZ really isn't any better for us and I don't care to get into a 
> discussion of that.

You should try "hosts allow" inside a share configuration.
This let's samba ignore other IP-Adresses. You even can setup one or 
more IP-ranges with "hosts allow = 192.168.15., 192.168.16., 127". Don't 
forget the point "." at the end. "127" is for "localhost" one can also 
use. Sometime the syntax is supposed to be somthing like "hosts allow = 
192.168.1. 192.168.255. 127". Difference is now decimal point, just a 
space. You can try this out with testparm.

I wish you luck
Alex



More information about the samba mailing list