Document DNS splitting and add etebase A record
This commit is contained in:
parent
5093b5c63a
commit
ee10dabf9d
2 changed files with 5 additions and 2 deletions
|
|
@ -173,7 +173,8 @@
|
||||||
# [/media.joshuabell.xyz/]127.0.0.1:9053
|
# [/media.joshuabell.xyz/]127.0.0.1:9053
|
||||||
# [/jellyfin.joshuabell.xyz/]127.0.0.1:9053
|
# [/jellyfin.joshuabell.xyz/]127.0.0.1:9053
|
||||||
host-record = [
|
host-record = [
|
||||||
# DNS splitting
|
# DNS splitting on local network
|
||||||
|
# Basically these are intercepted and resolve to local IP's when anyone is connected to home network
|
||||||
"media.joshuabell.xyz,10.12.14.10"
|
"media.joshuabell.xyz,10.12.14.10"
|
||||||
"jellyfin.joshuabell.xyz,10.12.14.10"
|
"jellyfin.joshuabell.xyz,10.12.14.10"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -27,12 +27,13 @@
|
||||||
# ];
|
# ];
|
||||||
extra_records =
|
extra_records =
|
||||||
let
|
let
|
||||||
|
# DNS splitting at the tailscale network level. We intercept these domains
|
||||||
|
# when connected to tailscale and skip my global/internet facing DNS proxy
|
||||||
h001ARecord = name: {
|
h001ARecord = name: {
|
||||||
type = "A";
|
type = "A";
|
||||||
name = "${name}.joshuabell.xyz";
|
name = "${name}.joshuabell.xyz";
|
||||||
value = "100.64.0.13";
|
value = "100.64.0.13";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
(h001ARecord "jellyfin")
|
(h001ARecord "jellyfin")
|
||||||
|
|
@ -46,6 +47,7 @@
|
||||||
(h001ARecord "gist")
|
(h001ARecord "gist")
|
||||||
(h001ARecord "git")
|
(h001ARecord "git")
|
||||||
(h001ARecord "blog")
|
(h001ARecord "blog")
|
||||||
|
(h001ARecord "etebase")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue