Open byteshiva opened 1 year ago
A customer ran into this issue today (32296). Initially I was able to replicate it using a DigitalOcean droplet with Docker. I attempted to setup a Tailscale container that would funnel to a Portainer container. Initially I was able to reach Portainer when I was connected to my tailnet but couldn't reach it when I wasn't connected - obviously not the expected behavior.
I then tried starting up Tailscale with the following environment variable set - TS_ACCEPT_DNS=true
(in my docker-compose.yml
) and everything started working as I expected.
Of note, if using tailscale
on the command line you can do tailscale up --accept-dns=true
.
A customer ran into this issue today (32296). Initially I was able to replicate it using a DigitalOcean droplet with Docker. I attempted to setup a Tailscale container that would funnel to a Portainer container. Initially I was able to reach Portainer when I was connected to my tailnet but couldn't reach it when I wasn't connected - obviously not the expected behavior.
I then tried starting up Tailscale with the following environment variable set -
TS_ACCEPT_DNS=true
(in mydocker-compose.yml
) and everything started working as I expected.Of note, if using
tailscale
on the command line you can dotailscale up --accept-dns=true
.
Was having the same issue and this worked for me (tailscale up --accept-dns=true
.) Thanks! Maybe they should add something about that to the docs
What is the issue?
Description: After following the provided steps to set up a website using Tailscale on an ARM Raspberry Pi with user space networking and funneling enabled, there is an issue with DNS resolution. The website should be accessible outside of the Tailnet network via a custom hostname, but it fails to resolve after waiting for 10 to 15 minutes following Step 7 and Step 8.
Steps to reproduce
Steps to Reproduce:
Run the Docker container :
Inside the container instance, Install "tailscale":
Run tailscaled with user-space networking:
Run tailscale with custom hostname:
Create a folder /tmp/public/ and touch index.html, echo "hello" >> index.html:
Run a Python HTTP server to serve the content:
Add proxy to route 443 to port 8000:
Enable funnel on port 443:
Wait for 10 to 15 minutes and attempt to access the website using the custom hostname outside of the Tailnet network.
Note: ACL Settings for Tailscale Funnel - Default Configuration
Expected Result: The website content from index.html should be displayed when accessing it via the custom hostname outside of the Tailnet network.
Actual Result: After waiting for 10 to 15 minutes following Step 7 and Step 8, the website fails to resolve when attempting to access it using the custom hostname outside of the Tailnet network.
Are there any recent changes that introduced the issue?
Additional Information:
OS
Linux
OS version
Linux 6.1.21 aarch64 GNU/Linux
Tailscale version
1.44.2
Other software
No response
Bug report
BUG-2384b5e8fde9161aa0832fe10738f9017ec613df6b74c8e45ad9e990dad25894-20230722075927Z-f06502bdac90b707