>$ dig A +answer +nocmd +nomultiline +nocomments 0.pool.ntp.org Aren't you also obtaining NS and additional records? I haven't checked, but I assume those aren't NTP servers. If my assumption is accurate, this seems simpler: $ dig A +short 0.pool.ntp.org -JP