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

Static WAN Configuration with ISP DNS

Hi, My ISP Gave me xxx.xxx.xxx.xxx public IP and xxx.xxx.xxx.xxx Getway with xxx.xxx.xxx.2, xxx.xxx.xxx.3,    DNS. I make Static Configuration For Interface WAN 2 With Public IP and Gateway. But where do I put the DNS  

4 REPLIES 4
AEK
SuperUser
SuperUser

Hi Yahya

You set it under menu Network > DNS. But it is not required to use your ISP's DNS, you can use your local DNS or anyone else like cloudflars's or google's.

AEK
AEK
yahya3
New Contributor

 IF I did not put ISP DNS I can't access the web, ping to 8.8.8.8 is okay but can't access the web

dingjerry_FTNT

Hi @yahya3 ,

 

Maybe your ISP provider denied all DNS traffic over port 53. 

 

You may change the protocol setting in the DNS settings:

 

(dns) # set protocol ?
cleartext DNS over UDP/53, DNS over TCP/53.
dot DNS over TLS/853.
doh DNS over HTTPS/443.

 

Or in GUI:

 

dingjerry_FTNT_0-1738080189205.png

 

If DNS still does not work for you after changing to other protocols, you may have to use your ISP's DNS servers.

Regards,

Jerry
dingjerry_FTNT

Hi @yahya3 ,

 

You can configure the DNS settings via CLI as well:


If you have VDOM enabled, it is under the Global mode:

 

# config global    // If you don't have VDOM enabled, you may skip this one

# config system dns

#  set primary x.x.x.2
# set secondary x.x.x.3

# end

 

 

Regards,

Jerry
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors