Skip to content
  • 0 points on Custom domains and Tailscale in !selfhosted@lemmy.world ·

    Ok, I think I am beginning to understand the issue. Can you try resolving the domain in your browser? If it’s a Firefox derivative, you can go to about:networking, and it gives you the ability to resolve a domain in the browser. Some Chrome based ones should have similar features, but YMMV.

  • 0 points on Custom domains and Tailscale in !selfhosted@lemmy.world ·

    Interesting. Does trying to simply ping myhost or myhost.xxx.ts.net work?

  • 1 points on Custom domains and Tailscale in !selfhosted@lemmy.world ·

    What are you testing MagicDNS with? What are the DNS settings? What does trying dog myhost (or dig, or using about:networking in a Firfox derived browser (maybe Chrome too?) if you prefer) tell you? For reference, on a Linux host (I don’t remember exactly, so don’t quote me), you should se something like this in /etc/resolv.conf

    nameserver 127.0.0.1
    options edns0 trust-ad
    search xxxxxx.ts.net xxxxxxxxxx.local.net
    
  • 7 points on Custom domains and Tailscale in !selfhosted@lemmy.world ·

    This is the correct answer. You can even use it to force all the devices in your tailnet to use the same DNS server, and it’s really quite easy to host a sinkhole with either PiHole, AdGuard Home, or my preference, dnscryptproxy. Also works with just the hostname if you want. I.E. ssh MyLinuxBox works just as well as ssh MyLinuxBox.whatever.ts.net.

    If you want the service publicly accessible through the wider internet (the person doesn’t even need TS to access the website), check out TS Funnel.