CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2024/11/13 08:51:50
Modified files: usr.sbin/ntpd : ntp_dns.c Log message: Take into account how long the dns probe takes before decding to punt. A single res_query() call can return immediately (e.g. success or the nameservers are unreachable), or take quite some time, depending on how many nameservers are configured. So measure the actual time it takes and decide wat to do based on that. Early version from beck@; ok claudio@ deraadt@