Description | This article describes how to Identify and solve DNS issue while provisioning Free FortiToken. |
Scope | |
Solution |
Sometimes, when trying to assign a FortiToken to the users in FortiGate, an error message: 'FortiCare Unreachable' can appear.
One possibility of this error is due to DNS unable to resolve the hostname.
Perform a ping as per below in FortiGate:
# execute ping fds1.fortinet.com
The ping fails with the message: 'unable to resolve hostname'.
Now, run the debug commands below, simultaneously ping the FQDN:
directregistration.fortinet.com on FortiGate.
# diag debug application dnsproxy -1 # diag debug enable
# execute ping directregistration.fortinet.com
The DNS debug result will show output similar to below.
Output from DNS debug:
last_tx=0 ftg_last_tx=0 domain=directregistration.fortinet.com (orig id: 0x0000 local id:0x0000 active)
- Cannot find local ID in the output means its not releasing the local-ID resource.
To resolve:
Restart DNS proxy using the below command:
# diag test application dnsproxy 99
Once the DNS proxy daemon has been restarted check the ping again and this time the ping should be successful and further the FortiTokens can be provisioned to the intended users. |
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 2023 Fortinet, Inc. All Rights Reserved.