Ubuntu dns

From wiki karavi
Revision as of 08:26, 23 June 2025 by Karavi (talk | contribs) (Created page with " Edit the Netplan configuration file (usually located in /etc/netplan/). For example: sudo nano /etc/netplan/01-network-manager-all.yaml. To configure a static IP, modify the network: section with your desired IP address, gateway, and DNS servers. edit sudo nano /etc/netplan/01-network-manager-all.yaml Apply the changes: sudo netplan apply")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Edit the Netplan configuration file (usually located in /etc/netplan/). For example: sudo nano /etc/netplan/01-network-manager-all.yaml. To configure a static IP, modify the network: section with your desired IP address, gateway, and DNS servers.


edit

sudo nano /etc/netplan/01-network-manager-all.yaml

Apply the changes:

sudo netplan apply