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
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.
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
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:
If DNS still does not work for you after changing to other protocols, you may have to use your ISP's DNS servers.
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
User | Count |
---|---|
2624 | |
1393 | |
804 | |
670 | |
455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.