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

  • balsoft@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    18 hours ago

    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.

    • Bipauler@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      17 hours ago

      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 :)