Separate local DNS servers

Everyone here has been really helpful. I'm finally getting a system that is working really well for me.

One of the last things (I think) I'd like to setup is the DNS resolving. I'm confused by the dnsmasq lite vs. full and all that. What I'd really like to do is just tell the router to use the local DNS server I have on my network. It is split DNS so all my local servers resolve correctly but it forwards to known outside DNS servers. I also run my own local DHCP server so I don't need the router to do that either. So essentially I just want to completely disable the local DNS server and the DHCP server.

Right now, it seems like some things resolve and some things don't. I've tried to set the local DNS IP everywhere I can find, but I've probably confused a lot of things.

Bottom line: What can I do to simplify everything and just use my local DNS server?

Do I need to set things in the interfaces? The firewall? PBR? Some global options?

simply stop and disable dnsmasq ?

just make sure your replacement DHCP uses the router IP as default GW.

1 Like
  • Disable DHCP in the OpenWrt
  • Configure your other DHCP server to give out the gateway and DNS servers you desire

(There's other options to hand out the DNS or have dnsmasq use it as the upstream server, but since you don't want DHCP, it's irrelevant.)

1 Like

It's weird, because I had dnsmasq and odhcpd disabled in startup, but it was still running? Is there something else that may be starting it as a dependency?

disabling it won't stop the currently running daemon.

not by default.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.