this post was submitted on 23 Nov 2026
29 points (91.4% liked)

Linux

15563 readers
187 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS
 

Two in the last day. This one for Lemmy, and a weather API.. never happened since I installed Linux months ago. Halp?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] balsoft@lemmy.ml 6 points 3 days ago* (last edited 3 days ago) (4 children)

I think the most likely problem is that you have messed up your DNS resolution somehow, so your system resolves api.weather.gov to lemmy.kde.social.

Check in /etc/hosts, maybe you have some weird override there. Specifically look for api.weather.gov and lemmy.kde.social

Also check in /etc/resolv.conf, see what the nameserver entries are. If in doubt, try

  1. Back up the file (sudo cp /etc/resolv.conf /etc/resolv.conf.bkp)
  2. Remove all nameserver's: sudo sed -i '/^nameserver/d' /etc/resolv.conf (or manually edit the file and remove all lines starting with nameserver)
  3. Add a new nameserver: echo -e 'nameserver 1.1.1.1' | sudo tee -a /etc/resolv.conf
  4. See if all the networking stuff on your system still works; if not, restore from backup (sudo mv /etc/resolv.conf.bkp /etc/resolv.conf)

If those two don't help, I'm kinda out of ideas.

[โ€“] adein@lemmy.ml 3 points 3 days ago

Yeah, I would suspect DNS poisoning

load more comments (3 replies)