Server: replace dnsmasq cnames with headscale extra dns records
This commit is contained in:
parent
c7d2db076b
commit
0e66939ab1
4 changed files with 35 additions and 10 deletions
|
|
@ -37,8 +37,14 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
# Add a cname for transmission
|
||||
services.dnsmasq.settings.cname = ["transmission.everest.tailscale,everest"];
|
||||
# Add a record for transmission
|
||||
services.headscale.settings.dns_config.extra_records = [
|
||||
{
|
||||
name = "transmission.everest.tailscale";
|
||||
type = "A";
|
||||
value = "100.100.0.1";
|
||||
}
|
||||
];
|
||||
|
||||
# Set up caddy as the reverse proxy for transmission
|
||||
services.caddy.virtualHosts.transmission = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue