linux:network:networkmanager-dns-config
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:network:networkmanager-dns-config [2025/01/03 19:16] – created odefta | linux:network:networkmanager-dns-config [2025/01/03 19:21] (current) – odefta | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== NetworkManager DNS Configuration ====== | ====== NetworkManager DNS Configuration ====== | ||
| - | ===== Main Commands ===== | + | Configure NetworkManager DNS settings to use reliable DNS servers (Google DNS + local router) while preventing automatic DHCP overwrites. \\ |
| + | This ensures stable DNS resolution for both general networking and Docker operations. | ||
| - | < | + | ===== Main Commands ===== |
| + | < | ||
| sudo nmcli con mod p8p1 ipv4.dns " | sudo nmcli con mod p8p1 ipv4.dns " | ||
| sudo nmcli con mod p8p1 ipv4.ignore-auto-dns yes | sudo nmcli con mod p8p1 ipv4.ignore-auto-dns yes | ||
| Line 35: | Line 37: | ||
| < | < | ||
| - | Replace '' | + | * Replace '' |
| - | You can see available interfaces with '' | + | |
| - | Configuration persists after reboot | + | |
| - | Helps resolve Docker image pull issues and DNS resolution problems. | + | |
| </ | </ | ||
linux/network/networkmanager-dns-config.1735931802.txt.gz · Last modified: by odefta
