[Samba] New Domain can't connect to localhost

Rowland penny rpenny at samba.org
Fri Aug 23 16:41:31 UTC 2019


On 23/08/2019 17:21, Robert A Wooldridge via samba wrote:
> On 08/23/2019 10:52 AM, L.P.H. van Belle via samba wrote:
>> Hai,
>>
>> A quick reply, i was almost out of the office here..
>>
>> Your config looks ok except one thing.
>>
>> You can try switching the hosts, like this.
>> /etc/nsswitch.conf
>> hosts:          files dns mdns4_minimal [NOTFOUND=return]
>>
>> I suggest you verify the dns A PTR NS records of the servers.
>> https://wiki.samba.org/index.php/DNS_Administration
> Yes, the PTR records are not there and I seem to be having trouble 
> adding them.  I have servers on 10.10.1.x and workstations on 
> 10.10.10.x.  How do I add these to the Samba DNS server?
>
You will need two reversezones, probably  '1.10.10.in-addr.arpa' and 
'10.10.10.in-addr.arpa', to create them (you may already have one of them):

samba-tool dns zonecreate 127.0.0.1 1.10.10.in-addr.arpa -U Administrator

samba-tool dns zonecreate 127.0.0.1 10.10.10.in-addr.arpa -U Administrator

Run them on the DC.

You could create just one reversezone, but adding records gets a slight 
bit more complicated ;-)

Rowland




More information about the samba mailing list