tailscale / tailscale/tailscale

FR: Silence setLinkDNS warnings when accept-dns=false is used

Open
#13,164 0 comments 1 reaction 0 assignees View on GitHub
dns fr needs-triage
Dominant language
Go
Stars
36.5k
Forks
3.2k
Avg merge
1d 23h
Merged PRs (30d)
132

Description

### What are you trying to do?

There are many scenarios in which host DNS should be left untouched.

From the docs it appears `tailscale up --accept-dns=false` should achieve it.

But it does not, the following entries continue to appear in the logs:

>
> health(warnable=dns-os): error: setLinkDNS: Permission denied
> health(warnable=dns): error: setLinkDNS: Permission denied

### How should we solve this?

`--accept-dns=false` should deactivate all aspects of setLinkDNS, including the healthchecks.

### What is the impact of not solving this?

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the setLinkDNS path and the handling of --accept-dns=false. Confirm where the dns-os and dns health warnings are emitted, then verify that using accept-dns=false produces no setLinkDNS warnings while DNS remains untouched.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.