this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(nixos): force IPv6 DNS

+12 -1
+12 -1
infra/_modules/nixos/flake.nix
··· 35 35 networking.hostName = "kube-1"; 36 36 systemd.network.networks."30-wan" = { 37 37 matchConfig.Name = "enp1s0"; 38 - networkConfig.DHCP = "ipv4"; 38 + networkConfig = { 39 + DHCP = "ipv4"; 40 + # TODO debug this 41 + # CoreDNS runs on the IPv6-only pod network, so it cannot reach 42 + # the IPv4 DNS servers advertised by Hetzner DHCP. 43 + DNS = [ 44 + # https://developers.cloudflare.com/1.1.1.1/ip-addresses 45 + "2606:4700:4700::1112" 46 + "2606:4700:4700::1002" 47 + ]; 48 + }; 49 + dhcpV4Config.UseDNS = false; 39 50 address = [ 40 51 hosts.kube-1.ipv6_address 41 52 ];