[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname

Rowland Penny rpenny at samba.org
Thu Feb 7 20:24:15 UTC 2019


On Thu, 7 Feb 2019 21:05:12 +0100
Peter Tuharsky via samba <samba at lists.samba.org> wrote:

> Well, I have finally installed Samba 4.9 from Van Belle's repo, but 
> still I cannot resolve FQDN's.
> 

It should work, here is proof:

rowland at devstation:~/diff$ nslookup dc4
Server:		192.168.0.6
Address:	192.168.0.6#53

Name:	dc4.samdom.example.com
Address: 192.168.0.6

rowland at devstation:~/diff$ nslookup dc4.samdom.example.com
Server:		192.168.0.6
Address:	192.168.0.6#53

Name:	dc4.samdom.example.com
Address: 192.168.0.6

rowland at devstation:~/diff$ nslookup 192.168.0.6
Server:		192.168.0.6
Address:	192.168.0.6#53

6.0.168.192.in-addr.arpa	name = dc4.samdom.example.com.

rowland at devstation:~/diff$ ping -c1 dc4
PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data.
64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.890 ms

--- dc4.samdom.example.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.890/0.890/0.890/0.000 ms
rowland at devstation:~/diff$ ping -c1 dc4.samdom.example.com
PING dc4.samdom.example.com (192.168.0.6) 56(84) bytes of data.
64 bytes from dc4.samdom.example.com (192.168.0.6): icmp_seq=1 ttl=64 time=0.567 ms

--- dc4.samdom.example.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.567/0.567/0.567/0.000 ms
rowland at devstation:~/diff$ ping -c1 192.168.0.6
PING 192.168.0.6 (192.168.0.6) 56(84) bytes of data.
64 bytes from 192.168.0.6: icmp_seq=1 ttl=64 time=0.668 ms

--- 192.168.0.6 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.668/0.668/0.668/0.000 ms

How are you creating your dns records ?

Rowland



More information about the samba mailing list