DNS settings in /etc/resolv.conf did not persist after a reboot in VCF Automation 9.0.2
search cancel

DNS settings in /etc/resolv.conf did not persist after a reboot in VCF Automation 9.0.2

book

Article ID: 451434

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • The DNS settings in ' /etc/resolv.conf '  did not persist after a reboot 
  • Inventory Sync on VCFA LCMVMSP10019 message - Cannot SSH VCF Automation  VIP from Fleet Management . 

Environment

VCF Automation 9.0.2  

Cause

In Photon OS, /etc/resolv.conf is dynamically managed and overwritten by systemd-resolved or network configuration services.

Resolution

To ensure /etc/resolv.conf persists across reboots, perform the following steps:
  • Step 1: Update /etc/resolv.conf by adding the correct DNS IP.
  • Step 2: Force-create the symbolic link to overwrite the existing configuration using this command:
    sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf