What will happen if I remove dnmsq from listening to port 53

System Info

ā€£ You should enable dnsmasq to use your domain inside home
NextCloudPi version	v1.36.3
NextCloudPi image	NextCloudPi_11-27-20
distribution	Debian GNU/Linux 10 \n \l
automount	yes
USB devices	sda sdb
datadir	/media/myCloudDrive/ncdata
data in SD	no
data filesystem	btrfs
data disk usage	87G/932G
rootfs usage	3.2G/29G
swapfile	/var/swap
dbdir	/var/lib/mysql
Nextcloud check	ok
Nextcloud version	20.0.2.2
HTTPD service	up
PHP service	up
MariaDB service	up
Redis service	up
Postfix service	up
internet check	ok
port check 80	open
port check 443	open
IP	192.168.1.94
gateway	192.168.1.254
interface	eth0
certificates	site.ddns.me
NAT loopback	no
uptime	6min

[/details]

Nextcloud version (eg, 20.0.5): replace me
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Debian)
PHP version (eg, 7.4): PHP 7.3.27-1~deb10u1 (cli) (built: Feb 13 2021 16:31:40) ( NTS )

The issue you are facing:

I am trying to install pihole via docker on the same raspberry pi that has my NCP instance.
I have a problem with port 53 - the below command and output show that dnsmasq is listening on port 53

pi@nextcloudpi:~ $ sudo lsof -nP -iTCP:53 -sTCP:LISTEN
COMMAND PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
dnsmasq 738 dnsmasq    5u  IPv4  19173      0t0  TCP *:53 (LISTEN)
dnsmasq 738 dnsmasq    7u  IPv6  19175      0t0  TCP *:53 (LISTEN)

My question is - what will happen if I stop dnnmsq listening on this port and instead let my pihole docker listen on this port?
Thanks

The output of your Nextcloud log in Admin > Logging:

PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

It will no longer resolve inside your LAN

Presumably, I will still be able to connect to the outside world even with the dnmsq stopped?
Will I be able to resume the service later?
will 192.168.1.94:4443 continue to work??

3 times yes

1 Like