1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-05-14 01:17:07 +02:00
juanfont.headscale/hscontrol
nblock 1e0516b99d
Restore support for "Override local DNS" (#2438)
Tailscale allows to override the local DNS settings of a node via
"Override local DNS" [1]. Restore this flag with the same config setting
name `dns.override_local_dns` but disable it by default to align it with
Tailscale's default behaviour.

Tested with Tailscale 1.80.2 and systemd-resolved on Debian 12.

With `dns.override_local_dns: false`:

```
Link 12 (tailscale0)
Current Scopes: DNS
     Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
   DNS Servers: 100.100.100.100
    DNS Domain: tn.example.com ~0.e.1.a.c.5.1.1.a.7.d.f.ip6.arpa [snip]
```

With `dns.override_local_dns: true`:

```
Link 12 (tailscale0)
Current Scopes: DNS
     Protocols: +DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported
   DNS Servers: 100.100.100.100
    DNS Domain: tn.example.com ~.
```

[1] https://tailscale.com/kb/1054/dns#override-local-dns

Fixes: #2256
2025-04-17 17:16:59 +02:00
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
capver drop versions older than 1.62 (#2405) 2025-02-05 12:02:32 +01:00
db Only read relevant nodes from database in PeerChangedResponse (#2509) 2025-04-08 14:56:44 +02:00
derp feat: derpmap field in config (#1823) 2024-10-17 05:34:20 -06:00
dns fixes to extra-record file watcher (#2298) 2024-12-16 11:26:56 +01:00
mapper ensure final dot on node name (#2503) 2025-04-11 12:39:08 +02:00
notifier use helper function for constructing state updates (#2410) 2025-02-07 13:49:59 +01:00
policy fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
routes Multi network integration tests (#2464) 2025-03-21 11:49:32 +01:00
templates use dedicated registration ID for auth flow (#2337) 2025-01-26 22:20:11 +01:00
types Restore support for "Override local DNS" (#2438) 2025-04-17 17:16:59 +02:00
util allow users to be defined with @ in v1 (#2495) 2025-03-30 11:19:05 +00:00
app.go fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
auth_test.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
auth.go fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
debug.go Set content-type to JSON for some debug endpoints 2025-03-16 14:02:12 +01:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
grpcv1.go fix auto approver on register and new policy (#2506) 2025-03-31 15:55:07 +02:00
handlers.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
metrics.go Handle /derp/latency-check (#2227) 2024-11-06 15:59:38 +01:00
noise.go handle register auth errors (#2435) 2025-02-23 17:02:46 +01:00
oidc.go OIDC: Fetch UserInfo to get EmailVerified if necessary (#2493) 2025-03-27 10:39:29 +01:00
platform_config.go Return better web errors to the user (#2398) 2025-02-01 15:25:18 +01:00
poll.go populate serving from primary routes (#2489) 2025-03-28 13:22:15 +01:00
suite_test.go Redo OIDC configuration (#2020) 2024-10-02 14:50:17 +02:00
tailsql.go Use result of fmt.Errorf call (#1668) 2024-02-15 11:02:54 +01:00