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

Linux

15563 readers
170 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) (2 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

[–] Bipauler@sh.itjust.works 1 points 3 days ago* (last edited 3 days ago) (1 children)

Thank you very much. I will definitely look into this as soon as I come out of my cleaning frenzy and cook my roast. It seems like it might be reasonable but it just seems so weird the way it popped up twice in a row. Maybe it had something to do with me trying to rename my media files using open code and I probably fucked myself there. But I will definitely look into this and once again thank you!

Also I guess I was playing around with wireless wake over lan, and tailscale, so perhaps it is some networking thing. I mean I guess it's probably got to be a networking thing unless I'm really screwed with some hack type of stuff right? I probably probably am suffering from a self-inflicted wound LOL. I really appreciate the help though I edited because I just realized I had more information I forgot about. Was doing so much today on the PC and IRL that I forgot all what I was even doing. Just trying to get dinner cooked and clean and juggling everything. I might have messed something up I guess. Thanks again! And if you think of anything else I could have done just screw up something I'd love to hear it :)

[–] tyler@programming.dev 3 points 3 days ago (1 children)

Tailscale can add a dns entry to /etc/resolv.conf and mess things up so yes you probably got something mixed up somewhere.

[–] Bipauler@sh.itjust.works 1 points 3 days ago

Thank you I'm going to look into etc and see what is there <3