Podman
Plugins
dnsname
To re-create the DNS functionality of Docker the Podman community wrote the dnsname plugin. It uses DNSMasq to enable DNS resolution inside the containers. To enable it, edit /etc/cni/net.d/87-podman-bridge.conflist and add the following config in the plugins section:
{
"type": "dnsname",
"domainName": "podman.internal"
}
The domainName setting is added after every container name, e.g. example.podman.internal for a container called example.
You can find a pre-compiled version of the plugin here.