Hello.
I recently bought a Routerboard 951G-2HnD.
I used defaults since it’s for my home LAN, I need no fancy configuration.
Just some port forwarding that I already know how to do it.
I changed network segment from 192.168.88.0 to 192.168.0.0
Problem is I have no local name resolution. Maybe you can point me in ther right direction.
I have a dnsmasq server that was running perfect.
On my previous router TP-Link I had 192.168.0.254 (dnsmasq) as primary DNS and 192.168.0.1 (router) as secondary.
DHCP on router gave those DNS to clients. So, local resolution was made by dnsmasq and internet by router.
I could ping by name any of my hosts (windows+linux). Hell, even I have a reverse proxy that looks for services using local FQDN instead IP.
As I said, I have 951G working. I can surf but I can’t reach any of my local services/servers by name.
so I set dnsmasq as DNS1 and router as DNS2, but then everything stopped working, even surfing the web.
Also if I set DNS1 router and DNS2 dnsmasq; I have resolution but really slow (4-5 seconds until ping). dnsmasq is connected via ethernet
Is there any specific requirement on the dnsmasq server? You can do something similar to:-
/ip dns
set allow-remote-requests=yes servers=208.67.222.222,208.67.220.220
‘allow-remote-requests’ allows your mikrotik to respond to DNS requests and servers=208.67.222.222,208.67.220.220 tells the Mikrotik where to look up answers it doesn’t know.
Then you can add static entries like so:-
/ip dns static
add address=10.10.1.1 name=router.home.lan
add address=10.10.1.10 name=nas.home.lan
Then in your DHCP set your the Mikrotik as your DNS server with:-
If you do want to use your dnsmasq server connect up to it, can it do DNS lookups it’s self, does it still have internet connectivity, did your router address stay the same or does the gateway on the DNSMasq server need updating?