rico0: cleanup dns config

This commit is contained in:
Adithya 2024-09-17 11:09:51 +05:30
parent 731e54c9c1
commit d4cfc4effb
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -54,15 +54,34 @@ in
customDNS = { customDNS = {
customTTL = "1h"; customTTL = "1h";
filterUnmappedTypes = true; filterUnmappedTypes = true;
rewrite = {
"jellyfin.local.adtya.xyz" = "layne.local.adtya.xyz";
"gateway.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"ap1.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"ap2.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"switch.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"alertmanager.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"blocky.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"frp.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"grafana.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"loki.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"prometheus.labs.adtya.xyz" = "rico0.labs.adtya.xyz";
"transmission.labs.adtya.xyz" = "layne.labs.adtya.xyz";
"jellyfin.labs.adtya.xyz" = "layne.labs.adtya.xyz";
};
mapping = { mapping = {
"gateway.local.adtya.xyz" = "192.168.0.1"; "gateway.local.adtya.xyz" = "192.168.0.1";
"ap1.local.adtya.xyz" = "192.168.1.1"; "ap1.local.adtya.xyz" = "192.168.1.1";
"ap2.local.adtya.xyz" = "192.168.1.2"; "ap2.local.adtya.xyz" = "192.168.1.2";
"switch.local.adtya.xyz" = "192.168.1.3"; "switch.local.adtya.xyz" = "192.168.1.3";
"gateway.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "rico0.local.adtya.xyz" = "192.168.1.10";
"ap1.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "rico1.local.adtya.xyz" = "192.168.1.11";
"ap2.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "rico2.local.adtya.xyz" = "192.168.1.12";
"switch.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "wynne.local.adtya.xyz" = "192.168.1.13";
"layne.local.adtya.xyz" = "192.168.1.14";
"proxy.labs.adtya.xyz" = "10.10.10.1,fd7c:585c:c4ae::1"; "proxy.labs.adtya.xyz" = "10.10.10.1,fd7c:585c:c4ae::1";
"skipper.labs.adtya.xyz" = "10.10.10.2,fd7c:585c:c4ae::2"; "skipper.labs.adtya.xyz" = "10.10.10.2,fd7c:585c:c4ae::2";
"rico0.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10"; "rico0.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
@ -70,15 +89,7 @@ in
"rico2.labs.adtya.xyz" = "10.10.10.12,fd7c:585c:c4ae::12"; "rico2.labs.adtya.xyz" = "10.10.10.12,fd7c:585c:c4ae::12";
"wynne.labs.adtya.xyz" = "10.10.10.13,fd7c:585c:c4ae::13"; "wynne.labs.adtya.xyz" = "10.10.10.13,fd7c:585c:c4ae::13";
"layne.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14"; "layne.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"alertmanager.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"blocky.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"frp.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"grafana.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"loki.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"prometheus.labs.adtya.xyz" = "10.10.10.10,fd7c:585c:c4ae::10";
"transmission.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"jellyfin.labs.adtya.xyz" = "10.10.10.14,fd7c:585c:c4ae::14";
"jellyfin.local.adtya.xyz" = "192.168.1.14";
}; };
}; };
conditional = { conditional = {