From a714928512a80ca1f3216fb27e6daa617e12e69a Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 22 Feb 2024 22:37:57 -0500 Subject: just stop letting tailscale manage dns it breaks too much --- modules/base/templates/hosts | 4 ++++ modules/headscale/templates/config.yaml | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/base/templates/hosts b/modules/base/templates/hosts index 63fe815..73bfc38 100644 --- a/modules/base/templates/hosts +++ b/modules/base/templates/hosts @@ -1,2 +1,6 @@ 127.0.0.1 localhost 127.0.1.1 <%= @hostname %>.localdomain <%= @hostname %> + +<% @vpn_ips.each do |hostname, ip| -%> +<%= ip %> <%= hostname %>.algo +<% end -%> diff --git a/modules/headscale/templates/config.yaml b/modules/headscale/templates/config.yaml index 91deed4..1a0152a 100644 --- a/modules/headscale/templates/config.yaml +++ b/modules/headscale/templates/config.yaml @@ -17,9 +17,3 @@ derp: disable_check_updates: true db_type: sqlite3 db_path: <%= @data_dir %>/db.sqlite -dns_config: - override_local_dns: true - nameservers: - - 4.2.2.4 - magic_dns: true - base_domain: headscale.tozt.net -- cgit v1.2.3-54-g00ecf