Why aardvark-dns resolves the container name to the wrong IP in Red Hat Enterprise Linux 8 ?

Solution Unverified - Updated -

Issue

  • Why aardvark-dns resolves the container name to the wrong IP in Red Hat Enterprise Linux 8 ?
    Snips from podman inspect and curl output from within the container
[test@test ~]$ podman exec -it test bash
root@infra:/# ping postgresql-slave
PING postgresql-slave.dns.podman (10.89.1.42) 56(84) bytes of data.
^C
--- postgresql-slave.dns.podman ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms


[test@test ~]$ podman inspect postgresql-slave|grep -i ip
                         "HostIp": "",
                         "IPAddress": "10.89.1.51",

Environment

  • Red Hat Enterprise Linux 8
  • aardvark-dns-1.0.1-35.module+el8.6.0
  • podman-4.1.1-2.module+el8.6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content