DNS is nearly instantaneous for resolution for everything else.. Why would the script be different?

thanks

(I appreciate all the helpful responses)