Obligatory “check out Kagi”
- 0 Posts
- 93 Comments
Opisek@lemmy.worldto Selfhosted@lemmy.world•Need help getting domain to resolve over LANEnglish3·11 days agoI explained why. Misconfiguration and caching.
Opisek@lemmy.worldto Selfhosted@lemmy.world•Need help getting domain to resolve over LANEnglish1·12 days agoYou would also need to clear your device’s DNS cache.
Opisek@lemmy.worldto Selfhosted@lemmy.world•Need help getting domain to resolve over LANEnglish2·12 days agoNot two A records. From what I understand, OP has an A record pointing to their public IP address (which Nginx is listening on behind a NAT). Then, on the local network, OP uses their own DNS server to ignore that entry and instead always serve the local IP when a host on the LAN queries it.
Aside from OP’s devices potentially using a different DNS server (I was only able to solve it for my stock Android by dropping outgoing DNS in my firewall), this solution is a nightmare for roaming devices like mobile phones. Such a device might cache the DNS answer while on LAN or WAN respectively and then try to continue using that address when the device moves to the other network segment.
These are the most likely scenarios in my opinion - OP’s devices are ignoring the hacky DNS rewrite (either due to using a different DNS server or due to caching) and try to access the server via the public IP. This is supported by the connection timeout, which is exactly what you would see when your gateway doesn’t do loopback.
Opisek@lemmy.worldto Selfhosted@lemmy.world•Need help getting domain to resolve over LANEnglish112·12 days agoNever point your DNS at two different IP addresses like this. It will only cause you pain and unexpected behaviour.
What you are experiencing is solved by so-called “NAT reflection” or “NAT loopback”. It’s a setting that - in the optimal case - you should just be able to activate on the appropriate interface on your gateway.
If you do not have that setting or do not have access to the edge router, but only some intermediate router, you can do a nasty hack. You can point static routes to your public IP address to point at your local IP address instead. In that case, you also need to tell your server to accept packets with your public IP address as the destination.
It’s not open source by choice. In fact, they tried breaching the license to keep it closed source.
Picking emojis that make sense actually made it easy to read.
Opisek@lemmy.worldto RetroGaming@lemmy.world•What is the best looking retro console or PC?English2·2 months agoDamn, wood. Or wood-looking material at least.
Opisek@lemmy.worldto Programmer Humor@programming.dev•TIL that "nginx" is pronounced "engine-x", and not "n-jinx"4·2 months agoMy lead dev used to pronounce it njinx and I always needed some time to realize what he’s talking about.
Opisek@lemmy.worldto DeGoogle Yourself@lemmy.ml•google is not and never was your friend, it is a dictator tool: Degoogle10·3 months agoEveryone should report it as bug.
It means something else.
Figured out how to automate pushing out videos with to content and plagiarized stackoverflow responses every few minutes. YouTube doesn’t care. I am filled with deep hatred whenever I see that face.
Opisek@lemmy.worldto Privacy@lemmy.ml•Can someone explain to me the advantages of using a VPN?2·4 months agoOther comment have gone way more in-depth, but there’s also a difference between using commercial VPNs and ones you set up yourself. I have a few private VPNs set up on servers I physically own in different countries and that offers different protections than just using NordVPN.
Opisek@lemmy.worldto Games@lemmy.world•Frostpunk creators cancel "Project 8" and lay off staff amid concerns that "narrative-driven, story-rich games" don't sellEnglish642·4 months agoNarrative-driven games made Valve into Valve. But ok, you do you.
Opisek@lemmy.worldto Mildly Infuriating@lemmy.world•I live in the green part (obesity map)English8·5 months agoI first got this realization when I started using grey scale mode for my phone at night. A “good to bad” scale in an app became unintelligible. Since then I try to consider colorblindness if I design stuff myself. It’s fantastic if color scales carry meaning in both their colour but also the same meaning in their lightness, so everyone can understand them the same.
Super super user.
Have you ever tried Linux on photosynthesis?
Opisek@lemmy.worldto Open Source@lemmy.ml•This AI Startup "Copied" an Open-Source Project and Got Half a Million Dollar Funding by Y Combinator3·7 months agoBold of you to assume they read the book.
I use Debian for any of my servers. Its stability is unparalleled.
My personal computers are a playground though.
You’d be surprised