Slow 'fetch' from shell

Started by liamb, November 02, 2021, 10:59:05 PM

Previous topic - Next topic
Hi All,

I'm getting an issue where DNS resolution seems to be slow and is affecting my ability to use 'fetch' within the shell. Below is a snapshot of my command and I get a significant pause on the 'resolving server address: www.routerperformance.net:443' step. Seems like this is affected by IPv6 also. I run unbound on this opnsense instance and unbound seems to resolve the same address quickly, is there something I'm missing that might affect this?

$ fetch -o /usr/local/etc/pkg/repos/mimugmail.conf https://www.routerperformance.net/mimugmail.conf -v
resolving server address: www.routerperformance.net:443
SSL options: 82004854
Peer verification enabled
Using CA cert file: /usr/local/etc/ssl/cert.pem
Verify hostname
TLSv1.2 connection established using ECDHE-RSA-AES256-GCM-SHA384
Certificate subject: /CN=www.routerperformance.net
Certificate issuer: /C=US/O=Let's Encrypt/CN=R3
requesting https://www.routerperformance.net/mimugmail.conf
remote size / mtime: 109 / 1610018598