diff --git a/nix/flake/kubenix/default.nix b/nix/flake/kubenix/default.nix index d158a7a..ff90232 100644 --- a/nix/flake/kubenix/default.nix +++ b/nix/flake/kubenix/default.nix @@ -65,32 +65,6 @@ loadBalancerIP: "192.168.30.128" ''; }; - - configMaps.coredns-custom = { - metadata.namespace = "kube-system"; - data."external.server" = '' - kubernetes.dmz { - kubernetes - k8s_external kubernetes.dmz - } - ''; - }; - - services.kube-dns-external = { - metadata.namespace = "kube-system"; - - spec = { - type = "LoadBalancer"; - loadBalancerIP = "192.168.30.133"; - selector.k8s-app = "kube-dns"; - - ports = [{ - port = 53; - targetPort = 53; - protocol = "UDP"; - }]; - }; - }; }; helm.releases.metallb = { diff --git a/nix/modules/networking/dmz_services/dnsmasq.nix b/nix/modules/networking/dmz_services/dnsmasq.nix index a3af4a3..78ab5a3 100644 --- a/nix/modules/networking/dmz_services/dnsmasq.nix +++ b/nix/modules/networking/dmz_services/dnsmasq.nix @@ -24,7 +24,6 @@ in server = [ cfg.dmz.ipv4.router "/kun.is/${cfg.dmz.ipv4.services}" - "/kubernetes.dmz/192.168.30.133" ]; dhcp-range = [