LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2024, 08:51 AM   #1
mw.decavia
Member
 
Registered: Feb 2024
Distribution: Slackware64-15 & Afterstep , oh my
Posts: 78

Rep: Reputation: 8
Network Manager vs bind/unbound - solved it myself


This post is for other unknown people online, who may someday have the same problem.

This is specific to the NM included in Slackware15, it may or may not apply to other distros/releases.

The problem - When using NM, attempts to use non-dnsmasq dns servers such as bind or unbound, fail. The other dns server won't function. Even when the NM configs say to not use dnsmasq for dns. Even if NM is configured to use those other dns servers.

I searched for answers, there have been some people asking the question, but they never got good answers either.

The problem, at least in my case, is that no matter how NM is configured, it is directly loading dnsmasq anyways. In fact, it appears to need dnsmasq for more than just dns services. I tried "chmod -x dnsmasq", NM lost it's ability to configure connections.
Even static ip ethernet connections.

The explanation is that once NM directly starts dnsmasq, dnsmasq starts and uses it's own config file at /etc/dnsmasq.conf - and by default it provides dns services, Including listening on port 53, and allocating that ip socket for itself. Causing other dns servers to fail when they can't use that socket.


The simple solution was to go to /etc/dnsmasq.conf and set "port=0", disabling dnsmasq's dns service but letting it remain active for the other services it provides to NM.

Hope this helps someone somewhere.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unbound + Connman sysV init walker Linux - Networking 0 11-29-2021 03:51 PM
Introducing myself as I reintroducing myself to Linux Truman LinuxQuestions.org Member Intro 2 10-16-2011 02:16 PM
Allow myself to introduce myself Easy Rider LinuxQuestions.org Member Intro 1 02-23-2010 08:59 AM
Let myself introduce....myself?! PGriffen LinuxQuestions.org Member Intro 1 06-01-2008 02:03 PM
Allow myself to introduce ......myself Daboo LinuxQuestions.org Member Intro 1 11-16-2007 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration