Server/dns: change how host records are added
This commit is contained in:
parent
421be2b14b
commit
67f3cf3fad
1 changed files with 8 additions and 10 deletions
|
|
@ -15,25 +15,23 @@
|
|||
*/
|
||||
dns-loop-detect = true;
|
||||
|
||||
host-record = [
|
||||
"winmax2,winmax2.sable-pancake.ts.net,100.106.73.20"
|
||||
"everest,everest.sable-pancake.ts.net,100.73.96.48"
|
||||
"archie,archie.sable-pancake.ts.net,100.113.139.93"
|
||||
"steamdeck,steamdeck.sable-pancake.ts.net,100.85.48.85"
|
||||
"surfacego,surfacego.sable-pancake.ts.net,100.96.92.13"
|
||||
];
|
||||
|
||||
# If this isn't set a cname that targets a host might return the wrong ip
|
||||
localise-queries = true;
|
||||
## IPv6 is not a thing in Spain so I'm guaranteed to not use it
|
||||
filter-AAAA = true;
|
||||
expand-hosts = true;
|
||||
domain = "sable-pancake.ts.net";
|
||||
domain-needed = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Add tailscale hosts
|
||||
networking.hosts = {
|
||||
"100.73.96.48" = ["everest"];
|
||||
"100.113.139.93" = ["archie"];
|
||||
"100.85.48.85" = ["steamdeck"];
|
||||
"100.96.92.13" = ["surfecego"];
|
||||
"100.106.73.20" = ["winmax2"];
|
||||
};
|
||||
|
||||
# Dnsmasq conflicts with the resolved dns stub listener
|
||||
services.resolved.extraConfig = ''
|
||||
[Resolve]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue