21.12.2023., 13:36
|
#4030
|
EMP moderator
Datum registracije: Apr 2005
Lokacija: Osijek
Postovi: 18,819
|
Ako tko bude dizao DS, DNS ili DHCP na Synologyu, možda se bude susreo s problemom da su i DHCP i DNS na istom portu pa će dobiti grešku. Rješenje je "ubiti" DNS servis u dnsmasqu čime će se port 53 osloboditi, ne znam kog vraga dnsmasq koriste i za DNS i za DHCP.
https://www.reddit.com/r/synology/co...3qr/?context=3
EDIT: I neka ostane kopija ovdje za svaki slučaj...
Package(/NAS application) "DNS Server" needs PORT 53 to run, so it can run while installing Package, "Synology Directory Server" But Port 53 is taken - I never deal with ports, is this a router thing or NAS server thing?
Citiraj:
I came across this post while trying to find a solution for the same error when installing pihole on my NAS.
Commenting here with the solution that worked for me in case anyone in the future has the same issue.
The problem in my case is that Synology uses dnsmasq to provide DHCP services, but dnsmasq also listens on port 53 because it can (but doesn't in this case) provide a DNS service.
You can configure it to disable the DNS service by editing (as root) /usr/local/lib/systemd/system/pkg-dhcpserver.service and adding -p 0 to the exec line to disable DNS when dnsmasq starts. This should really be the default for the Synology installation, IMO, if it's not being used to provide DNS.
Now you just need to restart the dnsmasq service and port 53 will be free. I have no idea how to just restart the individual service (if someone knows, please tell me!) so I just rebooted my NAS which is overkill but works.
|
|
|
|