DNS entries disappear from the /etc/resolv.conf file after restarting Avaya Aura Device Services

Last Updated : Jun 10, 2026 |

Condition

DNS entries disappear from the /etc/resolv.conf after restarting Avaya Aura® Device Services.

Cause

The NetworkManager service controls the content of the /etc/resolv.conf file. This service automatically changes the content of the file to the default state when Avaya Aura® Device Services is restarted.

Solution

Procedure

  1. Open the /etc/NetworkManager/NetworkManager.conffile in a text editor.

    For example: vi /etc/NetworkManager/NetworkManager.conf

  2. Navigate to the [main] section in the file and do one of the following:
    • If the [main] section contains an entry starting with dns, replace this entry with the dns=none entry.

    • If the [main] section does not contain an entry starting with dns, add the dns=none entry to the [main] section.

    For example:

    [main]
    dns=none
  3. Save the file.
  4. Run the following command to restart the NetworkManager service:

    systemctl restart NetworkManager