An unofficial, read-only Hacker News reader.

PocketBase has moved off GitHub (opens external site)

300 points by p2detar 10 hours ago | github.com | 132 comments on HN

View full thread · View on Hacker News

Comment thread (1)

  1. > The only thing I'm still working out is precisely how hostnames and certs will work... I ordinarily avoid split-horizon DNS but it might be the easiest way to have externally-exposed services that don't loopback through my WAN without name juggling.

    I did a similar setup recently with Tailscale. You can have your router resolve a domain locally to the LAN IP. The Tailscale connector in the cluster can advertise the gateway IP and the ACL can allow DNS-related traffic to it, so it works while you’re away from home. Can even have admin subdomains which the LAN router resolve to a Tailscale IP, and the tags on the cluster prevent anyone else from resolving those subdomains.

    And for a public domain you can have the router resolve the internal IP, and still do cloudflare tunnel. I guess a local device could get a DNS cache that resolves the external IP, but not a big deal. If a device is mostly on the LAN, it would get the internal IP anyways.

    Unifi routers can set wildcard A records which is nice when you have lots of little sites for yourself.