diff --git a/config/host-config/limina.nix b/config/host-config/limina.nix index 4f52de9..fcf1fc0 100644 --- a/config/host-config/limina.nix +++ b/config/host-config/limina.nix @@ -99,10 +99,11 @@ in { image = "pihole/pihole:2021.10"; autoStart = true; ports = [ "5353:53/tcp" "5353:53/udp" "3080:80/tcp" ]; + extraOptions = [ "--add-host=host.docker.internal:host-dns" ]; environment = { # ServerIP = primary-ip; VIRTUAL_HOST = "dns-hole.sea.fudo.org"; - DNS1 = "127.0.0.1#${toString dns-proxy-port}"; + DNS1 = "host-dns#${toString dns-proxy-port}"; }; volumes = [ "/state/pihole/etc-pihole/:/etc/pihole/"