logo

How I configure DNS on Ubuntu Linux distros via the command line - it's easier than you think

ID: 79439dcc-0e57-502e-bc46-f62500b522c1

STIX ID: report--79439dcc-0e57-502e-bc46-f62500b522c1

Feed Name: ZDNet Security

Date Published: 2026-07-20

Date Updated: 2026-07-20

...
...

This ZDNet how-to walks through configuring DNS on Ubuntu-based systems using Netplan: locate and back up the YAML file in /etc/netplan, add a nameservers section (example: Cloudflare 1.1.1.1 and 1.0.0.1), apply changes with `sudo netplan apply`, and troubleshoot common issues such as YAML indentation and NetworkManager overrides.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.