[Samba] Samba and dnsmasq

Nicolas me at electronico.nc
Tue Dec 18 19:28:54 UTC 2018


Hello everyone !

Well, I'm setting up a 'new' box with samba 4.9.3 on Ubuntu 18.04

Idea is to use Host OS for Domain Controler (dc1.smb.domain.tld) and a 
LXC container (ubuntu 18.04 too) as Domain Member with File Server 
(fs.smb.domain.tld).

Administration through Windows OS will be done with a Qemu KVM.

Bad thing is that I get :

> Failed to bind to 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED

as dnsmasq is using port 53 :

> netstat -tulpn | grep ":53"
> tcp        0      0 192.168.122.1:53 0.0.0.0:*               
> LISTEN      1283/dnsmasq
> tcp        0      0 10.0.3.1:53 0.0.0.0:*               LISTEN      
> 1062/dnsmasq
> tcp6       0      0 :::53 :::*                    LISTEN      
> 1161/samba: task[dn
> udp        0      0 192.168.122.1:53 
> 0.0.0.0:*                           1283/dnsmasq
> udp        0      0 10.0.3.1:53 0.0.0.0:*                           
> 1062/dnsmasq
> udp6       0      0 :::53 :::*                                
> 1161/samba: task[dn
Is there known solutions to resolve this, or should I use this kind of 
method :

https://medium.com/matematica-e-informatica/dnsmasq-and-samba4-ad-dc-74e69d46a1db

Thanks in advance for your time.

Nicolas




More information about the samba mailing list