Debian 12 loses Dns on resolv.conf - Network Manager

Discussion in 'Parallels Provider for Vagrant' started by GianmarcoM, May 29, 2024.

  1. GianmarcoM

    GianmarcoM Bit poster

    Messages:
    8
    Hi all,
    I've installed 6 Debian 12 virtual machines on parallels 19.4.0 (Mac Mini M2 Pro), from the same base image, kernel 6.1.0, with only 1 network interface bridged on default adapter (wired lan).
    My network configuration is done via Ansible using Network Manager and everything works fine, but at a certain point, the dns configuration is lost. I tried to find logs or events related but nothing.
    Via network manager I configure 2 dns and the resolv.conf file is correct, like this:
    Code:
    # Generated by NetworkManager
    search test.domain.foo
    nameserver 192.168.10.110
    nameserver 192.168.1.1
    But after a not defined time I found the file like this:
    Code:
    nameserver 192.168.1.1
    If I restart the NetworkManager service all returns correct, but I need clues to find what is modifying the file
    Thanks
     

Share This Page