[Samba] DNS listens to ::1

Rowland penny rpenny at samba.org
Tue Feb 9 16:09:41 UTC 2021


On 09/02/2021 15:54, Yakov Revyakin wrote:
> Rowland thanks, substitution error, only mine
>
> ubuntu at dc01:~$ cat /etc/resolv.conf
> 172.27.1.98
> search domain.name <http://domain.name>


There should be 'nameserver' before the IPv4 address

>
> ubuntu at dc01:~$ cat /etc/hosts
> 127.0.0.1       localhost
>
> # The following lines are desirable for IPv6 capable hosts
> ::1     ip6-localhost   ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> 127.0.1.1       primaryvnic-821270      primaryvnic-821270


Remove the 127.0.1,1 line


>
> 172.27.1.98 dc01 dc01.domain.name <http://dc01.domain.name>


As I said earlier, it should be '172,27.1.98 dc01.domain.name dc01'

>
> ubuntu at dc01:~$ cat /etc/samba/smb.conf
> # Global parameters
> [global]
> dns forwarder = 172.27.2.2 169.254.169.254


What are the dns forwarders ? are they dns servers in the domain.name 
domain ?

Rowland





More information about the samba mailing list