On Sat, Oct 21, 2023 at 03:29:40PM -0400, Pocket wrote: > > 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.
OK. And the server is sending the DNS info unrequested? Or is your DHCP client (whoever that is) asking for it? Furthermore: if your DHCP client is dhclient, there are hooks for you to configure things in /etc/dhcp/dhclient-{enter,exit}-hooks.d Cheers -- t
signature.asc
Description: PGP signature