Skip to main content
daac
New Member
July 26, 2018
Question

Dns Vpn Ipsec Dial up

  • July 26, 2018
  • 1 reply
  • 5324 views

Hello I would like your help regarding a doubt I have about the operation of the dns on a windows machine when a vpn connection is made through the forticlient. There is a vpn client to site and when the connection is made, routes are received to a server and to a computer with the dns service (the split tunnel is enabled), so when a query is made an nslookup to the dns registers me the dns configured in the vpn this because the interface has a higher priority, however it happens with the other dns queries made to the other destinations, they have to be sent to this server to the vpn and when a response is obtained they will go out its connection to the isp of the network card. In case all the queries to the Dns travel by the vpn BUT the configured dns had faults I would not have way to solve with the dns of my isp and I would be without internal until it makes the disconnection of the vpn.

Thank you

note :In the images the explanation

 

 

 

    

1 reply

Toshi_Esumi
SuperUser
SuperUser
July 26, 2018

In that case, I would configure:

<in case SSL VPN>

config vpn ssl settings

  set dns-server1 10.10.10.10  <- internal DNS server over vpn

  set dns-server2 8.8.8.8  <- external (Google) DNS server over internet

end

<in case IPsec VPN>

config vpn ipsec phase1-interface

  edit "DUP-PHASE1NAME"

    set ipv4-dns-server1 10.10.10.10

    set ipv4-dns-server2 8.8.8.8

  next

end