tailscale / golink

A private shortlink service for tailnets
BSD 3-Clause "New" or "Revised" License
1.25k stars 79 forks source link

MagicDNS now seems to be required for go-links to work #102

Closed Tuinslak closed 11 months ago

Tuinslak commented 11 months ago

With MagicDNS disabled:

$ dig go +short
100.99.0.1

$ curl go/ -I
curl: (28) Failed to connect to go port 80 after 75437 ms: Couldn't connect to server

With MagicDNS enabled (and a restart):

$ curl go/ -I
НТТР/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: https:/go.bunny-major.ts.net/
Date: Tue, 19 Dec 2023 18:06:27 GMT

НТТР/1.1 200 0K
Date: Tue, 19 Dec 2023 18:06:27 GMT

The docker logs say:

2023/12/19 18:01:11 tsnet: you must enable HTTPS in the admin panel to proceed. 

Entire log after a restart with MagicDNS disabled: https://pastebin.com/921CSuZZ (can't include it here -- too long)