tailscale / tailscale/tailscale
DNS Resolution Issue with Tailscale Funnel and Proxy on Raspberry Pi with Docker and Tailscale User Space Networking
- Dominant language
- Go
- Stars
- 36.5k
- Forks
- 3.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 123
Description
### 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:**
1. Run the Docker container :
```
docker run -it python /bin/bash
```
2. Inside the container instance, Install "tailscale":
```
curl -fsSL https://tailscale.com/install.sh | sh
```
3. Run tailscaled with user-space networking:
```
sudo tailscaled --tun=userspace-networking --socks5-server=localhost:1055 &
```
4. Run tailscale with custom hostname:
```
sudo tailscale up --hostname=container_raspberrypi
```
5. Create a folder /tmp/public/ and touch index.html, echo "hello" >> index.html:
```
mkdir -p /tmp/public
echo "hello" >> /tmp/public/index.html
```
6. Run a Python HTTP server to serve the content:
```
python3 -m http.server
```
7. Add proxy to route 443 to port 8000:
```
tailscale serve https / http://127.0.0.1:8000
```
8. Enable funnel on port 443:
```
tailscale funnel 443 on
```
9. 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
```
"nodeAttrs": [
{
// Default Funnel policy, allowing tailnet members to control Funnel for their own devices.
// Learn more at https://tailscale.com/kb/1223/tailscale-funnel/
"target": ["autogroup:members"],
"attr": ["funnel"]
}
]
```
**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:**
- Raspberry Pi model: Raspberrypi 4
- Operating System: [Linux 6.1.21-v8+ aarch64 GNU/Linux]
- Tailscale version: [1.44.2]
- Docker version: [Docker version 24.0.4, build 3713ee1]
- Python version: [Python 3.11.2]
### 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
Contributor guide
Assessment
This issue has not been assessed yet.