[Samba] DNS question

Rowland penny rpenny at samba.org
Thu Sep 5 10:25:11 UTC 2019


On 05/09/2019 11:14, L.P.H. van Belle via samba wrote:
> This does not look bad, pretty ok.
>
> But im do have a question here.
>
>> ipaddress: 10.103.1.6 X.X.103.1
> This indicated that the primary interface is eno2
>
>> 2: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
>>      inet 10.103.1.6/24 brd 10.103.1.255 scope global eno2
>> 3: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
>>      inet X.X.103.1/22 brd X.X.103.255 scope global eno1
> Since im not seeing the routing table that could be a point of improvement.
> Check the default with : route |grep default
>
> Hostfile only has
>> X.X.103.1    dc1.xxx.yyy.zzz    dc1
> Kerberos points to : X.X.103.1
>
> Smb.conf point to eno1 ( X.X.103.1 )
>>      interfaces = lo eno1
> That the first what is see.
>
> To that is the ptr record set of dc1 ? Ip off eno1 or eno2?
>
>
> Greetz,
>
> Louis


At last, I saw something you didn't ;-)

in named.conf.options:

tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab";

in named.conf.local:

include "/var/lib/samba/bind-dns/named.conf";

Shouldn't the 'private' in the first path be 'bind-dns' ?

I would also suggest the OP reads this:

https://wiki.samba.org/index.php/Setting_up_a_BIND_DNS_Server#Installing_.26_Configuring_BIND_on_Debian_based_distros

Rowland





More information about the samba mailing list