---
title: "Discussion on \"Proxmox: how to deactivate management of /etc/resolv.conf, hosts or any other file in a LXC container\" | Hashnode"
description: "Discussion on \"Proxmox: how to deactivate management of /etc/resolv.conf, hosts or any other file in a LXC container\". # touch /etc/.pve-ignore.resolv.conf\n# rm /etc/resolv.conf\n# ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf\n\nResources:\n\nhttps://forum.proxmox.com/threads/lxc-ubuntu-debian-with-systemd-resolveds-etc-resolv-conf-and-adding-dns-info.1100..."
url: "https://hashnode.com/posts/proxmox-how-to-deactivate-management-of-etcresolvconf-hosts-or-any-other-file-in-a-lxc-container/634268dd524ea5a82b3be277"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Proxmox: how to deactivate management of /etc/resolv.conf, hosts or any other file in a LXC container](https://blog.davidassigbi.com/proxmox-how-to-deactivate-management-of-etcresolvconf-hosts-or-any-other-file-in-a-lxc-container?utm_source=hashnode&utm_medium=feed)

\# touch /etc/.pve-ignore.resolv.conf # rm /etc/resolv.conf # ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf Resources: https://forum.proxmox.com/threads/lxc-ubuntu-debian-with-systemd-resolveds-etc-resolv-conf-and-adding-dns-info.1100...

Oct 9, 2022 · 1 min read · blog.davidassigbi.com  
Read the article

-   [#lxc](https://hashnode.com/tag/lxc)
-   [#linux](https://hashnode.com/tag/linux)
-   [#proxmox](https://hashnode.com/tag/proxmox)
-   [#debian](https://hashnode.com/tag/debian)
-   [#ubuntu](https://hashnode.com/tag/ubuntu)

## Written by

[Mensah David Assigbi](https://hashnode.com/@davidassigbi)

@davidassigbi

  
[View profile](https://hashnode.com/@davidassigbi)

Full Stack IT Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
