Hi AUT_Maverick,
To use a Fully Qualified Domain Name (FQDN) for NTP (Network Time Protocol) configuration, you can follow these steps:
1. Ensure that the DNS resolution is working from the FortiGate device. You can verify this by checking if the FortiGate can resolve the FQDN to the correct IP address.
2. Configure the FortiGate device to use a custom NTP server. This can be done through the CLI (Command Line Interface) using the following commands: ```
config system ntp
set ntpsync enable
set type custom
config ntpserver
edit 1
set server "ntpserver.local"
next
end
set server-mode enable
set interface "port2"
end
``` Replace "ntpserver.local" with the FQDN of your NTP server. If you have the IP address of the NTP server, you can use that instead.
3. Save the configuration and verify the synchronization status using the command `diag sys ntp status`. This will show you the synchronization status and the NTP servers being used. Please note that the FortiGate device should have proper network connectivity and DNS resolution to successfully synchronize with the NTP server using the FQDN.
Documentation Link: https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-a-FortiGate-unit-as-a-NTP-serv...
I hope it will help you.
Just do that.
Hi AUT_Maverick,
To use a Fully Qualified Domain Name (FQDN) for NTP (Network Time Protocol) configuration, you can follow these steps:
1. Ensure that the DNS resolution is working from the FortiGate device. You can verify this by checking if the FortiGate can resolve the FQDN to the correct IP address.
2. Configure the FortiGate device to use a custom NTP server. This can be done through the CLI (Command Line Interface) using the following commands: ```
config system ntp
set ntpsync enable
set type custom
config ntpserver
edit 1
set server "ntpserver.local"
next
end
set server-mode enable
set interface "port2"
end
``` Replace "ntpserver.local" with the FQDN of your NTP server. If you have the IP address of the NTP server, you can use that instead.
3. Save the configuration and verify the synchronization status using the command `diag sys ntp status`. This will show you the synchronization status and the NTP servers being used. Please note that the FortiGate device should have proper network connectivity and DNS resolution to successfully synchronize with the NTP server using the FQDN.
Documentation Link: https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-a-FortiGate-unit-as-a-NTP-serv...
I hope it will help you.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1737 | |
1107 | |
752 | |
447 | |
240 |
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.