docs: update Linux/Arch/new-page/NetworkManager

This commit is contained in:
Lukas Forsberg 2025-09-27 15:22:08 +02:00 committed by Lukas Forsberg
parent a347653bfa
commit 65a3829d54

View File

@ -2,7 +2,7 @@
title: NetworkManager
description:
published: true
date: 2025-09-27T13:17:10.531Z
date: 2025-09-27T13:22:07.043Z
tags:
editor: markdown
dateCreated: 2025-09-27T13:11:25.852Z
@ -15,8 +15,16 @@ Show available network connections
nmcli con show
```
## DNS
Change the DNS server for specific connection
```
nmcli con mod "Lukarin Remote Wifi" ipv4.dns "192.168.1.1"
nmcli con mod "Lukarin Remote Wifi" ipv4.ignore-auto-dns yes
nmcli con up "Lukarin Remote Wifi"
```
Check which DNS server is in use
```
systemd-resolve --status
```