Skip to main content
Leo5117
New Member
May 14, 2020
Question

How to set default DNS IP for PPTP Server

  • May 14, 2020
  • 1 reply
  • 3433 views

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!

 

    1 reply

    Leo5117
    Leo5117Author
    New Member
    May 18, 2020

    Any one can help???

    sw2090
    SuperUser
    SuperUser
    May 18, 2020

    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.

    Leo5117
    Leo5117Author
    New Member
    May 19, 2020

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