this post was submitted on 13 May 2026
121 points (97.6% liked)

Technology

84603 readers
4124 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] clif@lemmy.world 2 points 4 hours ago* (last edited 4 hours ago)

I want to preface this with the fact that I am definitely NOT a networking expert so... don't trust anything I say.

My situation is a bit different because I am using Tailscale, though I have it on the list to be replaced in the future.

When you Wireguard to your LAN, do subsequent DNS requests go through the VPN? Sounds like you're looking into that route based on your third point above. If so, can you just add a static DNS resolution to your LAN router that points to your Caddy SSL terminator/reverse proxy? This assumes a static IP for your host.

That's what I've done. On my router I've set a static DNS entry of silverbullet.mydomain.com -> 10.0.0.101 (where *.101 is the static IP of my internal host/Caddy). This allows everything to resolve correctly when I'm physically attached to my LAN but also when connecting remotely via Tailscale.

It may not be elegant, but it avoids the hassle / extra config of a local DNS server as well as the need to manage host routes on each device.

EDIT: My router is running OpenWRT but I think most consumer grade routers support static DNS routes... but I could be wrong.