Brave Debian 13.4 curl / site issue

Type the 2nd command on the linux page into deb 13.4s terminal

Expected result: It should have got me what I needed to get brave installed

Brave Version( check About Brave): None, just the one currently on https://brave.com/linux/ at the time of posting

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
[sudo] password for ------:
curl: (6) Could not resolve host: brave-browser-apt-release.s3.brave.com

Clearly something is wrong with the site. Everything else seems to be working fine on my machine thus far. Gnome Software, update & the included firefox ESR

A quick diagnostic: nslookup brave-browser-apt-release.s3.brave.com

If that fails, then probably Debian (your system) could not translate brave-browser-apt-release.s3.brave.com into an IP address via DNS.

Possible causes:

  1. Temporary DNS issue

    • DNS server failed to resolve the Brave S3 hostname.
    • Common with ISP DNS outages, restrictive networks, captive portals, VPNs, Pi-hole, etc.
  2. Network filtering / blocking

    • Some networks block Amazon S3 endpoints or CloudFront-related domains.
    • Corporate, school, national, or security-filtered networks can do this.
  3. IPv6/DNS configuration problem

    • Firefox may use DNS-over-HTTPS and work fine,
    • while terminal tools (curl) use the system resolver and fail.
  4. Misconfigured resolver

    • /etc/resolv.conf broken,
    • systemd-resolved unhappy,
    • stale DNS cache.

My nslookup result of moments ago (20260508-0145 GMT):

Non-authoritative answer:
brave-browser-apt-release.s3.brave.com canonical name = d9owkidwx4k9e.cloudfront.net.
Name: d9owkidwx4k9e.cloudfront.net
Address: 3.170.185.3
Name: d9owkidwx4k9e.cloudfront.net
Address: 3.170.185.11
Name: d9owkidwx4k9e.cloudfront.net
Address: 3.170.185.128
Name: d9owkidwx4k9e.cloudfront.net
Address: 3.170.185.127


When you get a good response from that nslookup test, you might try the newer one-line installer from Brave Linux install page:

curl -fsS https://dl.brave.com/install.sh | sh

It’s fixed sorry. although probably didn’t fix until after response. If you’re on a tether that might have a proxy then what you need to do is add -E after sudo before apt on a lot of tasks. Such a foreign thing for someone who has mostly used windows and programs do all the grunt work most of the time. So example for brave I did

sudo -E apt install curl

and this works for all sudo apts. it might work for the curl lines too cant remember. its not needed for flatpak commands that seems to work fine.