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

DNS settings in a FGT VDOM

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.

1 REPLY 1
johnlloyd_13
Contributor II

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

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