What settings are used in Network -> DHCP and DNS -> General Settings -> local server?
I’m having a problem with my FQDN’s resolving to the machines on the local network. I am using openwrt for dns and I entered all hostnames for my domains which also have public dns records. I want dns requests for my domains on the local network to be resolved by the local dns server. Most are but some are not. I want the openwrt dns server to resolve all hostnames
Yes - all clients are using the local DNS server. There are no application failures, there are failures with server names - instead of resolving server.domain.com to a local address - which is entered in the hostnames page on openwrt, the DNS returns the public IP of server.domain.com. I am trying to get the openwrt DNS server to look at itself for all machines in the domain.com domain!
I actually have 3 domains that are mapped to public addresses and port forwarded to the machines on my private network. From the private network, I want to access the machines on their private address - so basically a split-brain DNS setup.
It appears the local server setting mentioned above would do this but I don't know the syntax for that field - instead of /lan/ would it be /domain.com/? If so, how would I enter multiple domains?
Have DNS assigned on OS level, and applications using it, are two different things.
Hence the question what application failed - if it's a browser, they (usually) have DoH enabled, and will bypass your local DNS.
Same goes for Android devices, which use DoT on OS level.
Have you checked if there are queries coming in to your DNS for the domains?
Yes, I know how DNS works, I've been a DNS admin for over 20 years. I am trying to figure out how openwrt has deployed dnsmasq. My question is what is the syntax for this setting when you have FQDN's?
Just to leave this where it lies - a .lan is not an FQDN even for a private network unless it has a hostname prefix - and since I NEVER use lan, local, etc in any network I build, thanks for the non-insulting jab!