aboutsummaryrefslogtreecommitdiff
path: root/content/post
diff options
context:
space:
mode:
Diffstat (limited to 'content/post')
-rw-r--r--content/post/change-nameserver-using-networkmanager.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/post/change-nameserver-using-networkmanager.md b/content/post/change-nameserver-using-networkmanager.md
index 09bab05..9cb1041 100644
--- a/content/post/change-nameserver-using-networkmanager.md
+++ b/content/post/change-nameserver-using-networkmanager.md
@@ -44,7 +44,7 @@ Do not edit `/etc/resolv.conf`. It will likely be replaced by NetworkManager.
Open a shell and add nameserver for existing connection.
```bash
-nmcli con $ssid ipv4.dns "1.1.1.1 1.0.0.1"
+nmcli con mod $ssid ipv4.dns "1.1.1.1 1.0.0.1"
```
The SSID can be found with `nmcli con`.