I'm having trouble accessing ELPA on my Mac from behind a corporate proxy. Emacs 27.1.
https_proxy configured appropriately (I've also tried setting
From Emacs (
Using a proxy for https... Contacting host: elpa.gnu.org:443 elpa.gnu.org/0 nodename nor servname provided, or not known Package refresh done Failed to download ‘gnu’ archive.
hostname:~ 000$ gnutls-cli -V --ca-verification --x509cafile=/tmp/master.pem elpa.gnu.org Processed 205 CA certificate(s). Resolving 'elpa.gnu.org:443'... Cannot resolve elpa.gnu.org:443: nodename nor servname provided, or not known hostname:~ 000$ nslookup elpa.gnu.org Server: XXX.XXX.XXX.XXX Address: XXX.XXX.XXX.XXX#53 ** server can't find elpa.gnu.org: NXDOMAIN
It looks like
nslookup are having trouble resolving the domain (
nodename nor servname provided, or not known is the same error that Emacs is throwing).
curl has no issues:
hostname:~ 000$ curl elpa.gnu.org|head <!doctype html> <html> <head> <title>GNU Emacs Lisp Package Archive</title>
What am I missing?