D
D
DVoropaev2019-03-31 21:52:43
linux
DVoropaev, 2019-03-31 21:52:43

How to disable the DNS server in Network-Manager?

you need to deploy a stand: wi-fi network + self-made DNS server. All this on one laptop with debian on board. I set up the network through the network manager, the DNS server swears that the network-manager occupied port 53 when it distributed wi-fi.
The fact is that NetworkManager, when setting up a wifi access point, raises its DNS service.
If you do the following sequence:
1) Turn on the access point
2) connect from another device
3) kill the process that listens to DNS and start your own,
then everything works. If for this:
1) Turn on the access point
2) kill the process that listens to DNS and start your own
3) connect from another device,
then the new devices do not connect (go into eternal reconnect)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2019-04-01
@hint000

Probably occupied by a port not quite NM. Try this here:

sudo systemctl disable systemd-resolved
sudo systemctl stop systemd-resolved

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question