You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/embeds/port-53.md
+29-1Lines changed: 29 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
-
If port 53 is in use, the installation fails. This issue can occur in default installations of certain operating systems in which `systemd-resolved` (DNS server) is running.
1
+
If port 53 is in use, the installation fails. This issue can occur in default installations of certain operating systems in which `systemd-resolved` (DNS server) or `dnsmasq`is running.
2
2
3
3
To prevent this issue, change the system configuration to make this port available before installation.
4
4
5
+
To prevent `systemd-resolved` from using port 53:
6
+
5
7
1. Edit `/etc/systemd/resolved.conf`:
6
8
7
9
```sh
@@ -31,3 +33,29 @@ You might encounter a temporary name resolution error (`sudo: unable to resolve
31
33
```sh
32
34
sudo service systemd-resolved restart
33
35
```
36
+
37
+
To prevent `dnsmasq` from using port 53:
38
+
39
+
1. Stop the `dnsmasq` service if it's running:
40
+
41
+
```sh
42
+
sudo systemctl stop dnsmasq
43
+
```
44
+
45
+
1. Prevent `dnsmasq` from starting automatically at system boot:
46
+
47
+
```sh
48
+
sudo systemctl disable dnsmasq
49
+
```
50
+
51
+
1. Mask `dnsmasq` to prevent it from being started manually or by other services:
52
+
53
+
```sh
54
+
sudo systemctl mask dnsmasq
55
+
```
56
+
57
+
1. Verify `dnsmasq` is no longer active and won't start at system boot:
0 commit comments