The checkds_send_toaddr() function uses hardcoded timeout values for both UDP and TCP, however, with TCP named has configurable timeout values. Slightly refactor the timeouts calculation part and use the configured 'tcp-initial-timeout' value as the connect timeout.