> Source: [sk183048](https://support.checkpoint.com/results/sk/sk183048)

# sk183048 - Gaia API command "set ntp" fails when NTP server is specified as FQDN

| Property | Value |
|----------|-------|
| Solution ID | sk183048 |
| Date Created | 2025-03-10 |
| Last Modified | 2025-03-11 |
| Technical Level | Advanced |
| Products | Security Gateway, Security Management Server |
| Versions | R81.20, R81.10 (EOS), R81.20, R81 (EOS), R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * The Gaia API command "`set ntp`" fails when an NTP server is specified as FQDN.

  Example:

  `[Expert@HostName:0]# mgmt_cli --context gaia_api set ntp enabled true servers.1.address pool.ntp.org servers.1.type primary servers.1.version 4`  
  `
  ...`  
  `
  code: err_validation_failed`  
  `
  errors: '''address'' have wrong number of octals, address is invalid IPv6 address'`  
  `
  message: Validation Error`  
  `
  [Expert@HostName:0]#`
* The Gaia API command "`set ntp`" works as expected when an NTP server is specified as an IP address.

## Cause

Gaia API supports FQDN hostnames in NTP configuration commands in Gaia API version 1.7 and higher.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
