Description | This article describes a probable reason why the SDN connector is not connecting due to a DNS lookup failure. |
Scope | FortiGate. |
Solution |
The FortiGate firewall A-P cluster is deployed in Azure. The port configuration is as follows:
Port1: WAN Port2: LAN Port3: HA Port4: MGMT
HA config:
config system ha set group-id 5
The issue is that the SDN connector shows as down in the GUI. The SDN connector configuration, shown below, appears to be fine:
config system sdn-connector edit "AzureSDN" set status disable next edit "AZ-SDN" set type azure set use-metadata-iam disable set tenant-id "035694e9-xxxx-xxxx-xxxx-24fce088b110" set client-id "478c681e-xxxx-xxxx-xxxx-ffb9c014a269" next
To identify why the SDN connector remains down, collect the following debug output:
diag debug reset
Below is the debug output:
2024-08-25 13:02:32 azd failed to list subscriptions 2024-08-25 13:02:32 get token failed for resource: https://management.azure.com
From the above debug output, the DNS lookup failed, which resulted in the SDN connector being down.
When the SDN connector is initiating the DNS lookup query, it will always go out via the mgmt interface i.e. port4 in this case. Even though the DNS servers under Network -> DNS show as reachable, the DNS servers must be reachable through the mgmt interface as well.
Packet capture on the mgmt interface can be taken to confirm whether DNS reply packets are coming back or not. If not, it is necessary to check the routing from the Azure side. |
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 2024 Fortinet, Inc. All Rights Reserved.