/etc/resolv.conf with dnsname plugin and user namespace not using dnsname resolver #5256
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind bug
Description
When running a container that is using a user namespace attached to a non default network with dnsname plugin enabled /etc/resolv.conf contains the hosts resolvers instead of the dnsmasq resolver for the network.
Steps to reproduce the issue:
Describe the results you received:
The output for /etc/resolv.conf for the two runs was different, first producing the dnsmasq resolver and the second time producing the hosts resolver.
Describe the results you expected:
I expected /etc/resolv.conf to contain
10.89.0.1
in both cases.Additional information you deem important (e.g. issue happens only occasionally):
This is on a fedora 31 server system.
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
qemu virtual machine.
The text was updated successfully, but these errors were encountered: