trying to use networkmanager with bind9
by mw.decavia from LinuxQuestions.org on (#6K1X0)
I am a newb to wifi.
My machine is slackware64-15 using a realtek rtl8812au. I built the realtek driver from it's github repo. And that works.
Right now I use networkmanager (nmcli) to connect out as a client. I am a newb to networkmanager. Maybe someday I might get more advanced.
In the past I had setup several slackware bind9 dns servers for my Local lan, using wired ethernet and static ip addresses, no networkmanager. And they worked.
I even setup a raspberry 4b as a bind9 dns server, with wired ethernet and static ip, and it worked.
Right now, it would be good to run a local caching bind9 dns server on this machine, the one which is connecting out using networkmanager.
The docs say that networkmanager is all set to run dnsmasq, if I choose. But I do not like dnsmasq, I want to use bind9.
But substituting "named" or "bind" for "dnsmasq" in the networkmanager conf files, does not start bind.
If I start bind9 myself in the rc.d system startup, and set 127.0.0.1 in the resolv.conf, and set networkmanager to ignore dhcp acquired dns server(s), bind9 is started but networkmanager never passes any requests to it.
I searched for the subject online, and found people using other distros who made bind work with networkmanager. I am sure there are many subtleties involved which I know nothing about.
If anyone could advise me re: the solution, it would help and I would thank you :)
My machine is slackware64-15 using a realtek rtl8812au. I built the realtek driver from it's github repo. And that works.
Right now I use networkmanager (nmcli) to connect out as a client. I am a newb to networkmanager. Maybe someday I might get more advanced.
In the past I had setup several slackware bind9 dns servers for my Local lan, using wired ethernet and static ip addresses, no networkmanager. And they worked.
I even setup a raspberry 4b as a bind9 dns server, with wired ethernet and static ip, and it worked.
Right now, it would be good to run a local caching bind9 dns server on this machine, the one which is connecting out using networkmanager.
The docs say that networkmanager is all set to run dnsmasq, if I choose. But I do not like dnsmasq, I want to use bind9.
But substituting "named" or "bind" for "dnsmasq" in the networkmanager conf files, does not start bind.
If I start bind9 myself in the rc.d system startup, and set 127.0.0.1 in the resolv.conf, and set networkmanager to ignore dhcp acquired dns server(s), bind9 is started but networkmanager never passes any requests to it.
I searched for the subject online, and found people using other distros who made bind work with networkmanager. I am sure there are many subtleties involved which I know nothing about.
If anyone could advise me re: the solution, it would help and I would thank you :)