Did you set virtualisation.podman.defaultNetwork.dnsname.enable and adjust your firewall accordingly?
I added the following rules (might not be what you want exactly):
networking.firewall.interfaces."podman+" = {
allowedUDPPorts = [ 53 ];
allowedTCPPorts = [ 53 ];
};