Community discussions

MikroTik App
 
mikronewb20
just joined
Topic Author
Posts: 11
Joined: Fri Nov 13, 2020 11:03 am

Server name resolution over L2TP

Mon Dec 21, 2020 2:08 pm

Hey,

I've just got a L2TP VPN tunnel working on my RB850G. However, it will only resolve IP addresses over it. Is there a way to have is resolve server names?

There is a particular bit of software that I use that connects to an sql server over the L2TP tunnel using the IP which I have to take out the server name each time and put in the IP instead.

Is there a way to allow server name resolution over the tunnel?
 
erlinden
Forum Guru
Forum Guru
Posts: 1962
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Server name resolution over L2TP

Mon Dec 21, 2020 3:03 pm

What DNS server IP do clients get on the VPN?
 
mikronewb20
just joined
Topic Author
Posts: 11
Joined: Fri Nov 13, 2020 11:03 am

Re: Server name resolution over L2TP

Mon Dec 21, 2020 4:01 pm

The correct one of the dns server, and if i put in the hostname with my domain at the end of it, it will work, if i put in the ip it will work, but if i just put in the hostname......zero.,..nothing.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Server name resolution over L2TP

Mon Dec 21, 2020 4:52 pm

It is not possible to send a domain search list in PPP profiles (as it is with DHCP) so you will either need to manually configure the DNS search list in the client, or use the full domain name.

Who is online

Users browsing this forum: GoogleOther [Bot] and 85 guests