---
title: "Discussion on \"Change Nameserver using NetworkManager\" | Hashnode"
description: "Discussion on \"Change Nameserver using NetworkManager\". Do not edit /etc/resolv.conf. It will likely be replaced by NetworkManager.\n\nOpen a shell and add nameserver for existing connection.\nnmcli con mod $ssid ipv4.dns \"1.1.1.1 1.0.0.1\"\n\nThe SSID can be found with nmcli con.\nReplace the IP addresses to yo..."
url: "https://hashnode.com/posts/change-nameserver-using-networkmanager/64a7a5a0d6052e06fc160a02"
---

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

Discussion

# [Change Nameserver using NetworkManager](https://hashnode.adityakumar.xyz/change-nameserver-using-networkmanager?utm_source=hashnode&utm_medium=feed)

Do not edit /etc/resolv.conf. It will likely be replaced by NetworkManager. Open a shell and add nameserver for existing connection. nmcli con mod $ssid ipv4.dns "1.1.1.1 1.0.0.1" The SSID can be found with nmcli con. Replace the IP addresses to yo...

Aug 1, 2022 · 1 min read · hashnode.adityakumar.xyz  
Read the article

-   [#network-manager](https://hashnode.com/tag/network-manager)

## Written by

[Aditya Kumar](https://hashnode.com/@akr2002)

@akr2002

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

Student

Student

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
