On 10/21/23 15:02, Stefan Monnier wrote:
I agree about that on most machines, but the machine in question has bind
running so nameserver needs to be set to 127.0.0.1 and the domain to
example.org in the resolv.conf file.
Beware: at this rate, you may end up giving us enough info about what
you're doing for us to actually help you.
I think you're still safe (e.g., you're still keeping us in the dark
about why you run bind on "this machine" yet you also want it to receive
"IPs and DNS info" from some other dhcp server, or otherwise keeping us
confused about which machine is which), but you're playing
a dangerous game.
Stefan
I need to run a dns server on this network and I want to get the ip and
routing info from a dhcp server.
For this machine I don't need the dns info from the dhcp server.
Doing this lets me control the IP addresses on the entire network and I
can replace one server with another by simply changing the IP address
handed out by the dhcp server. The dhcp server hands out the lease IP
by MAC address for some (server, printers, "security machines/devices"
etc) machines that need a "static" IP address and dynamic for all the
others like tablets notebooks etc.
This has worked for more that 35 years for me.
On all other client machines I use all the dhcp information, just not
for this machine as it is an
email server, dns and web server.
I use to build my own custom "distro" (rpm package with all packages
built from scratch) for servers but I am getting too old to do that so I
am trying to use debian to replace that.
I don't get you context here as the problem is simply trying to get
networkmanager to quit writing /etc/resolv.conf.
Being that debian has config files in many places I could have missed that.
If I can do this then my issue is solved.
--
It's not easy to be me