Hi everyone,
I'm trying to setting up the internal DNS server in FortiGate, so I'm following this article, however my hosts can't still resolve the domain that I'm trying to configure. This is my config for system dns-database and system dns-server
config system dns-database
edit "PAS"
set domain "pas-maintenance.com"
set authoritative disable
config dns-entry
edit 1
set hostname "@"
set ip 10.101.0.103
next
end
next
end
config system dns-server
edit "wan1"
next
edit "internal1"
next
end
I'm connected to an AP in the internal5 interface, however the laptop I'm connected with, cannot resolve `pas-maintenance.com` as `10.101.0.103`, why is this?
Hello,
follow below configuration for DNS forwarding on a FortiGate firewall
config system dns-database
edit "PAS"
set domain "pas-maintenance.com"
set authoritative disable
config dns-entry
edit 1
set hostname "@"
set ip 10.101.0.103
next
end
next
end
config system dns-server
edit "wan1"
set primary 8.8.8.8 // Google's public DNS server
next
edit "internal1"
set primary 10.101.0.103 // Your internal DNS server
next
end
hope this helps if you still face issue update us.
Thanks
Pavan
Hi @jfernandz,
Can you try to add internal5 as DNS server on FortiGate and use that interface IP as DNS server for wifi client. Make sure have a secondary DNS server for external resolve.
Regards,
Minh
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1751 | |
1114 | |
766 | |
447 | |
241 |
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.