Skip to content

Commit 2a3847f

Browse files
committed
Unpublish article: "Dnsmasq startet nicht wegen belegtem Port 53"
Not sure about the effect - needs more verification and probably rewording.
1 parent d9dcd98 commit 2a3847f

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

content/posts/dnsmasq-startup-error-with-systemd-resolved.en.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Dnsmasq does not start because port 53 is busy"
33
date: 2024-09-06T17:33:54+02:00
4-
draft: false
4+
draft: true
55
author: "Thomas Leister"
66
tags: ["dnsmasq", "systemd"]
77
---
@@ -10,14 +10,12 @@ Perhaps some of you have already run into this problem when Dnsmasq was to be us
1010

1111
```
1212
$ sudo systemctl status dnsmasq
13-
14-
[...]
1513
Sep 06 14:32:22 office-gateway dnsmasq[830]: failed to create listening socket for port 53: Address already in use
1614
Sep 06 14:32:22 office-gateway dnsmasq[830]: FAILED to start up
1715
Sep 06 14:32:22 office-gateway systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
1816
Sep 06 14:32:22 office-gateway systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
1917
Sep 06 14:32:22 office-gateway systemd[1]: Failed to start dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
20-
[...]
18+
2119
```
2220

2321
The cause was - we thought - quickly clear to us, because the Ubuntu server system in question is already equipped with the local `systemd-resolved` resolver, which already performs excellently on port 53. The Dnsmasq service, which in addition to DHCP also wants to offer a DNS service on port 53, can no longer hijack the port.
@@ -46,6 +44,6 @@ We have also decided to explicitly activate Dnsmasq only on the desired interfac
4644
interface=enp0s31f6
4745
```
4846

49-
_(this measure alone did not lead to success either - `DNSMASQ_EXCEPT="lo"` seems to be necessary!)_
47+
_(this measure alone did not lead to success - `DNSMASQ_EXCEPT="lo"` seems to be necessary!)_
5048

5149

content/posts/dnsmasq-startup-error-with-systemd-resolved.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Dnsmasq startet nicht wegen belegtem Port 53"
33
date: 2024-09-06T17:33:54+02:00
4-
draft: false
4+
draft: true
55
author: "Thomas Leister"
66
tags: ["dnsmasq", "systemd"]
77
---
@@ -10,14 +10,11 @@ Vielleicht ist der ein oder andere auch schon einmal in das Problem gelaufen, al
1010

1111
```
1212
$ sudo systemctl status dnsmasq
13-
14-
[...]
1513
Sep 06 14:32:22 office-gateway dnsmasq[830]: failed to create listening socket for port 53: Address already in use
1614
Sep 06 14:32:22 office-gateway dnsmasq[830]: FAILED to start up
1715
Sep 06 14:32:22 office-gateway systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
1816
Sep 06 14:32:22 office-gateway systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
1917
Sep 06 14:32:22 office-gateway systemd[1]: Failed to start dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server.
20-
[...]
2118
```
2219

2320
Die Ursache war uns - dachten wir - schnell klar, denn auf dem fraglichen Ubuntu Server System befindet sich an Werk bereits der lokale `systemd-resolved` Resolver, der auf Port 53 bereits hervorragende Leiste leistet. Der Dnsmasq-Service, der neben DHCP auch einen DNS-Service auf Port 53 anbieten will, kann den Port so nicht mehr an sich reißen.
@@ -46,6 +43,6 @@ Wir haben uns zusätzlich dazu entschieden, Dnsmasq explizit nur auf dem gewüns
4643
interface=enp0s31f6
4744
```
4845

49-
_(diese Maßnahme alleine führte übrigens auch nicht zum Erfolg - DNSMASQ_EXCEPT="lo" scheint dennoch notwendig zu sein.)_
46+
_(diese Maßnahme alleine führte übrigens nicht zum Erfolg - DNSMASQ_EXCEPT="lo" scheint dennoch notwendig zu sein.)_
5047

5148

0 commit comments

Comments
 (0)