# Podman: name resolution not working

**URL:** <https://forums.suse.com/t/podman-name-resolution-not-working/44961>\
**Category:** General\
**Created:** [January 14, 2025, 3:43pm UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961 "2025-01-14T15:43:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)\
**Post date:** [January 14, 2025, 3:43pm UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961/1 "2025-01-14T15:43:03Z")

</div>

Hi,  
sorry to bother, I am completly blank on podman (and docker for that matter).  
I have migrated SuSE Manager 4.3 to V5.0, which runs on Micro 5.5 inside a podman container.  
Looks like dns name resolution does not work.  
I am completely clueless how to configure that. Can I just modify /etc/resolv.conf from within mgrctl term?  
Thanks for a hint.  
Regards, Igor

---

<div class="post-metadata">

**Author:** ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)\
**Post date:** [January 14, 2025, 3:56pm UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961/2 "2025-01-14T15:56:28Z")

</div>

Hmmm… gave it a try just changing the file.  
Looks like it works.  
Sorry for the trouble.

---

<div class="post-metadata">

**Author:** ![meza](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/meza/32/12018_2.png) [@meza](https://forums.suse.com/u/meza)\
**Post date:** [January 14, 2025, 4:49pm UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961/3 "2025-01-14T16:49:01Z")

</div>

No trouble at all. Glad you figured it out!

---

<div class="post-metadata">

**Author:** ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)\
**Post date:** [January 20, 2025, 3:19pm UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961/4 "2025-01-20T15:19:44Z")

</div>

Hi there, the problem persists …  
I can sure change the file on the uyuni-server (after entering with mgrctl term), but after every reboot the /etc/resolv.conf is set back to original.  
IMHO the uyuni-server podman container should get name resolution from the sle micro 5.5 server it is running on. But I would not know if there is any special setting to do and where.

Thanks, Igor

---

<div class="post-metadata">

**Author:** ![panmeri](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@panmeri](https://forums.suse.com/u/panmeri)\
**Post date:** [January 21, 2025, 9:37am UTC](https://forums.suse.com/t/podman-name-resolution-not-working/44961/5 "2025-01-21T09:37:34Z")

</div>

Hi, just came to know this solution and I have already applied it and verified it works:

Create file on hosting system : /etc/containers/containers.conf

Content:  
[containers]  
dns\_searches = [“[xxxxxx.com](http://xxxxxx.com)”, “xxxxxxxx.it”]  
dns\_servers = [“”, “”]

Kind regards
