hi,
i configured a new FGT VDOM and was trying to configure DNS.
does all VDOM rely on the configured "global" DNS settings?
or can each VDOM have its own DNS setting?
fgt (vdom-a) # config system d
dhcp Configure DHCP.
dhcp6 Configure DHCPv6.
dns-database Configure DNS databases.
dns-server Configure DNS servers.
dns64 Configure DNS64.
fgt (vdom-a) # config system dns-server
<Enter>
fgt (vdom-a) # config system dns-server
fgt (vdom-a) # set
command parse error before 'set'
fgt (vdom-a) (dns-server) #
edit Add/edit a table value.
delete Delete a table value.
purge Clear all table values.
rename Rename a table entry.
get Get dynamic and system information.
show Show configuration.
end End and save last config.
nevermind, found the answer.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuration-per-VDOM-DNS/ta-p/190815
fgt (vdom-a) # config system vdom-dns
fgt (vdom-dns) # set vdom-dns enable
fgt (vdom-dns) # set primary 8.8.8.8
fgt (vdom-dns) # set secondary 8.8.8.4
fgt (vdom-dns) (vdom-dns) # end
fgt (vdom-dns) # execute ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=59 time=1.3 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=59 time=1.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=1.2 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=1.2 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=59 time=1.2 ms
User | Count |
---|---|
2559 | |
1356 | |
795 | |
650 | |
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.