Fix clone step failing, because git.hamburg.ccc.de could not be resolved

This commit is contained in:
June 2024-06-22 17:11:11 +02:00 committed by echtnurich
parent 2b276b2c97
commit becec64020
Signed by: echtnurich
SSH key fingerprint: SHA256:1eIkxME0VPeXC2WMl9Haus+q0SLFymSAWU7f6Z+A8Aw

View file

@ -10,4 +10,11 @@
enable = true; enable = true;
defaultNetwork.settings.dns_enabled = true; defaultNetwork.settings.dns_enabled = true;
}; };
networking.firewall.interfaces."podman0" = {
# allowedUDPPorts = [ 53 ] gets already set by virtualisation.podman.defaultNetwork.settings.dns_enabled, but set it here explicitly anyway.
allowedUDPPorts = [ 53 ];
# For git.hamburg.ccc.de to resolve in the clone step for example, allowedTCPPorts also needs to be set to allow DNS.
allowedTCPPorts = [ 53 ];
};
} }