this post was submitted on 15 Jun 2023
2 points (100.0% liked)

Selfhosted

60253 readers
1350 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

I've been having this issue very sporadically (sometimes a couple times a week, sometimes once a month). I'm curious as to how the more veteran folk here would try and narrow down the cause of this issue.

I can provide more info if needed!

Edit: More Info:

  • Using a static IP (no DHCP) through Netplan.
you are viewing a single comment's thread
view the rest of the comments
[–] fuser@quex.cc 1 points 3 years ago (1 children)

if ping fails with the name but works with 8.8.8.8 then you're losing DNS. set the nameservers locally on the server if you're using a static IP.

[–] Dax87@forum.stellarcastle.net 1 points 3 years ago (1 children)

I do have nameservers (8.8.8.8 being one of them) set in my Netplan config, if that counts.

[–] fuser@quex.cc 2 points 3 years ago (1 children)

it should - I think (I am not familiar with netplan) - but from what I can tell it it's a utility that simplifies the local config tasks, when you apply it, I think it should be putting the nameservers in /etc/resolv.conf - but before you go down this rabbit hole, check whether 8.8.8.8 or 1.1.1.1 respond to a ping when pings to named servers don't - if so, it's definitely name resolution (which would be my first guess).

[–] Dax87@forum.stellarcastle.net 1 points 3 years ago

Thank you, I'll follow this advice next time it decides to cut the internet off.