Slowing network speed

Jon Radel jon at radel.com
Fri Jul 24 20:32:43 UTC 2020


On 7/24/20 16:16, The Doctor via freebsd-questions wrote:
>
> I can do a ping numeric quick enough, 
> but a ping domain name takes a bit of time.
>
Time to use dig or your favorite DNS troubleshooting tool. 

It could be as simple as the first DNS server mentioned in
/etc/resolv.conf is non-functional, very slow or unreachable, and you're
waiting for it or waiting for the timeout in your local resolution code,
before failing over to the next server.

As an alternate to doing test lookups with a tool, you could just
reorder the servers in resolv.conf and/or add a line

options timeout:1

or append "timeout:1" if there already is an options statement, so as to
reduce the timeout.  If I recall correctly, the default would be 3
seconds, which is an eternity on a fast network.

-- 
--Jon Radel
jon at radel.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4177 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20200724/e668b2f1/attachment.bin>


More information about the freebsd-questions mailing list