Description | This article describes the troubleshooting steps if the DNS is showing as not reachable in a multi-VDOM environment. |
Scope | FortiGate 7.0+. |
Solution |
This article goes over the troubleshooting step for DNS not available in a multi-VDOM environment on FortiGate. Particularly if the WAN interface is not located in the management VDOM.
The current setting of the management VDOM can be seen using:
config global
Once the Management VDOM is found, check if it contains the WAN interface. To check this, go to the management VDOM and then navigate to Network-> Interfaces.
If the WAN interface is not displayed there, then this may be causing the issue with the DNS not reachable.
Start first by creating an Inter VDOM link. To configure that, go to Global VDOM and then navigate to Network-> Interfaces. Then select ‘Create New’ and choose ‘VDOM link’. Here choose the Management VDOM and the VDOM that has the WAN link.
Also, assign a dummy IP to both interfaces, it can be any IP not being used in your environment. Here is an example of what it should look like :
After that, go to the Management VDOM. Navigate to Network-> Static Routes. Create a default route with the interface as the Inter VDOM link as shown below:
If desired, it is possible to restrict the source of this policy to the IP that will be set as source IP for DNS. After configuring the policy, select ‘Ok’ at the end.
Next, set up the source IP for DNS. For this, use a local interface IP in the Management VDOM or the dummy IP on the inter-VDOM link.
In this example, it is used the IP of inter VDOM link 10.0.0.1. Set that as a source for DNS. Open a CLI window in Global VDOM and enter these commands:
After that, go to root VDOM (VDOM which has a WAN link) and then create a static route for this IP if not having it configured already. Here is an image of what it should look like:
|
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.