Fortinet Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Leo5117
New Contributor

How to set default DNS IP for PPTP Server

Hi, evryone

 

I use FG 6.0 and I setup a pptp server alreday, and client can connect without problem.

I want to set a default DNS IP for pptp Server, so it can push to all client and use it?

How can I do? Please give me some help!

 

Thanks a lot!

 

3 REPLIES 3
Leo5117
New Contributor

Any one can help???

sw2090
Honored Contributor

not sure if that will work for pptp tunnels. I does work for IPSec tunnels in mode config:

 

  set domain <domain>

  set ipv4-dns-server1 <ip>

  set dns-mode manual

 

will make the tunnel to send all queries relating <domain> to ipv4-dns-server1.

All other request will go to the client's system dns.


-- 

"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams

Leo5117
New Contributor

Thank you very much! I will try to test it!