-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailscale-custom-domain-dns.toml
66 lines (54 loc) · 2.37 KB
/
tailscale-custom-domain-dns.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Example config file
# This config file includes all available options with default settings.
# Empty strings represent options with no default settings that must be
# specified.
# Set the level of logging. Possible values are:
# "trace", "debug", "info", "warn", "error", "fatal", and "panic".
log-level = "debug"
# The fully qualified domain that you want to serve subdomain records for.
# Note the "." at the end.
# Example: "home.lan." would provide a response for "<machine name>.home.lan"
domain = ""
[tailscale]
# The name of your Tailscale organization. This is necessary to get a list of
# all devices in your tailnet.
# See: https://github.com/tailscale/tailscale/blob/main/api.md#list-tailnet-devices
#
# Instructions on how to find your organization name:
# https://tailscale.com/kb/1217/tailnet-name/#organization-name
#
# Example: "<username>.github"
organization-name = ""
# Tailscale auth key. Allows the server to join your tailnet
# WARNING: this is a secret value, consider setting it via an environment variable instead ofsaving it in a potentially insecure config file.
# Example: "tskey-abcdef1432341818"
auth-key = ""
# Tailscale OAuth client id and secret
# These are used to call the Tailscale API and get the list of devices on your tailnet and their IP addresses.
# WARNING: these are secret values, consider setting it via an environment variable instead ofsaving it in a potentially insecure config file.
# Example: id = "gC4s54HItEeu", secret = "tskey-client-gC4s54HItEeu-AAAAAAAAAAAAAAAAAAAAA"
oauth-client-id = ""
oauth-client-secret = ""
# The hostname that the server will connect to your tailnet with.
hostname = "tailscale-custom-domain-dns"
# The directory that the Tailscale state is stored in
# If it is not set, tsnet will choose a path in the users config directory
# Example: state-dir = "/data"
state-dir = ""
# Mark the node as Ephemeral
ephemeral = false
[dns-server]
# The port that the DNS server will run on.
# The port is opened directly on your tailnet using the tsnet library, so you
# do not need root privileges to run on port 53.
port = 53
[fetcher]
# How frequently the server will fetch the list of devices from your organization.
interval = "1h"
[aliases]
# Alias for the root domain without any subdomain
# Example: root = "machine-one"
root = ""
[aliases.subdomains]
# Aliases for subdomains, they take the form of:
# alias = "existing-device-name"