NSD failed to start via service on CentOS 7

Юрий Иванов <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <AM0PR05MB472361C2A69D10E4263736CCB3BA0@AM0PR05MB4723.eurprd05.prod.outlook.com>
Hi,
I've installed nsd from packages via epel-repository.

When try to start service listening on port 65053 with:
[root@ns1 nsd]# service nsd status
Is does not work:

# cat /var/log/messages | grep nsd
Sep  6 11:28:35 ns1 nsd[1370]: nsd starting (NSD 4.1.24)
Sep  6 11:28:35 ns1 nsd[1370]: can't bind udp socket: Permission denied
Sep  6 11:28:35 ns1 nsd: [2019-09-06 11:28:35.314] nsd[1370]: notice: nsd starting (NSD 4.1.24)
Sep  6 11:28:35 ns1 nsd: [2019-09-06 11:28:35.314] nsd[1370]: error: can't bind udp socket: Permission denied
Sep  6 11:28:35 ns1 nsd: [2019-09-06 11:28:35.314] nsd[1370]: error: server initialization failed, nsd could not be started
Sep  6 11:28:35 ns1 nsd[1370]: server initialization failed, nsd could not be started
Sep  6 11:28:35 ns1 systemd: nsd.service: main process exited, code=exited, status=1/FAILURE
Sep  6 11:28:35 ns1 systemd: Unit nsd.service entered failed state.
Sep  6 11:28:35 ns1 systemd: nsd.service failed.

Looks like something wrong with user rights because nsd-control works:
[root@ns1 nsd]# nsd-control start
[2019-09-06 11:39:38.295] nsd[1414]: notice: nsd starting (NSD 4.1.24)
[root@ns1 nsd]# ps aux | grep nsd
nsd       1415  0.9 16.9 168776 84872 ?        Ss   11:39   0:00 nsd -c /etc/nsd/nsd.conf
nsd       1416  0.3  6.5 100304 32880 ?        S    11:39   0:00 nsd -c /etc/nsd/nsd.conf
nsd       1417  0.0  0.2 100436  1136 ?        S    11:39   0:00 nsd -c /etc/nsd/nsd.conf

This is only centos package issue or I should tweak nsd.conf somehow?

Thanks in advance.

_______________________________________________
nsd-users mailing list
[email protected]
https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.