Community discussions

MikroTik App
 
howdey57
Member Candidate
Member Candidate
Topic Author
Posts: 127
Joined: Wed Dec 31, 2014 2:36 pm

DNS and VPN after 6.47 - the "L7 Hack"

Thu Aug 06, 2020 12:56 pm

DNS does not work well for me over my IPsec VPN between two offices. When I put all traffic through the main office, DNS does not work in the remote office.

I read that the L7 Hack, that seems to address this, has been formalised in 6.47beta60 but I cannot find instructions on where that config is or how to use it.

Please could someone help me with that configuration.

Thanks.

Charles
 
nescafe2002
Forum Veteran
Forum Veteran
Posts: 897
Joined: Tue Aug 11, 2015 12:46 pm
Location: Netherlands

Re: DNS and VPN after 6.47 - the "L7 Hack"

Thu Aug 06, 2020 1:10 pm

It's in the documentation: https://wiki.mikrotik.com/wiki/Manual:I ... NS_Entries

It is also possible to forward specific DNS requests to a different server using FWD type. This will fordward all subdomains of "example.com" to server 10.0.0.1:

[admin@MikroTik] ip dns static> add regexp=".*\\.example\\.com\$" forward-to=10.0.0.1
 
howdey57
Member Candidate
Member Candidate
Topic Author
Posts: 127
Joined: Wed Dec 31, 2014 2:36 pm

Re: DNS and VPN after 6.47 - the "L7 Hack"

Sat Aug 08, 2020 11:24 am

Thanks.

I suspect I asked the wrong question. I had a go at the answer (thinking the L7 Hack would help) but it didn't solve by pages not resolving issue. I have redone the question here. viewtopic.php?f=2&t=164704
 
sarahk99
just joined
Posts: 1
Joined: Wed Oct 21, 2020 1:01 am

Re: DNS and VPN after 6.47 - the "L7 Hack"

Mon Oct 26, 2020 12:42 am

It's in the documentation: https://wiki.mikrotik.com/wiki/Manual:IP/DNS#Static_DNS_Entries

It is also possible to forward specific DNS requests to a different server using FWD type. This will fordward all subdomains of "example.com" to server 10.0.0.1:

[admin@MikroTik] ip dns static> add regexp=".*\\.example\\.com\$" forward-to=10.0.0.1
Thanks awesome, never knew that I could do that
thank you !

Who is online

Users browsing this forum: maigonis, mbovenka, mquan1984, rplant, scsiii and 113 guests