Community discussions

MikroTik App
 
MrMartian
just joined
Topic Author
Posts: 2
Joined: Sat Apr 09, 2022 5:23 pm

DNS forwarding not always working

Thu May 12, 2022 5:00 pm

I have a Wireguard tunnel to my work network from home.I have configured DNS forwarding for the domain there. It works sometimes. IE, I can resolve a hostname in that domain about 10% of the time. I would then assume if it works sometimes, I have it configured correctly but perhaps not.. Basically, the line is:

/ip dns static add forward-to=x.x.x.x regexp=".*\\.{domain}\$" type=FWD

When it works, I get the proper IP back. When it doesn't, I get NXDOMAIN. Packet capture seems to indicate when it doesn't work it isn't even forwarding the query to the upstream server..

I can't quite grasp why it would work sometimes but not all the time.. ??

Thanks!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11452
Joined: Thu Mar 03, 2016 10:23 pm

Re: DNS forwarding not always working

Fri May 13, 2022 6:56 am

Is your "forwarding" DNS server used exclusively by clients ... or do clients get multiple DNS servers to work with?

Who is online

Users browsing this forum: No registered users and 6 guests