Description

Show ntp associations does not work unless you use the 'no-resolve' flag. DNS is working as expected?

Symptoms

root@Routerk> show ntp associations

 

root@Router> show ntp associations no-resolve

     remote               refid           auth  st  t  when  poll reach  delay     offset   jitter rootdelay rootdisp
=====================================================================================================================
a.b.c.d             .INIT.               -  16  u     -  1024    0    0.000    +0.000    0.000    0.000    0.000
a.b.c.e             .INIT.               -  16  u     -  1024    0    0.000    +0.000    0.000    0.000    0.000
*w.x.y.z                a.b.c.d          -   5  u   737  1024  377    6.860    -1.350    5.729  215.103   34.668
127.127.1.0             .LOCL.               -  14  l   20h    64    0    0.000    +0.000    0.000    0.000   10.000

 

Solution

The issue was analysed via PR 1959936.


RCA: The script encountered FCrDNS validation failures when DNS resolution returned no A/AAAA records for the hostname, resulting in rendering failures.

Fix: Hardened the script to gracefully handle DNS responses without A/AAAA records during FCrDNS checks, ensuring such cases are processed correctly without causing script failures.


Restoration:

Correct the Domain Name System (DNS) configuration so that both reverse (PTR) and forward (A/AAAA) DNS lookups succeed.

After the DNS configuration is fixed, both 'show ntp associations' and 'how ntp associations no-resolve' commands work as expected.


Workaround:

Use the 'show ntp associations no-resolve' command to view NTP association information without performing DNS resolution.


Fixed in (and all subsequent releases after these):

evo:25.2R2-S2-EVO evo:26.2R2-EVO evo:26.3R1-EVO evo:26.4R1-EVO

Planned: 24.4R2-S6-EVO

Modification History

2026-07-09 : Article Created