Skip to main content

Setting DNS

DNS-MNS can automatically configure DNS on Windows, macOS, and Linux. This page explains how DNS is set on each platform.

Automatic DNS Configuration

After testing DNS servers, you can apply one of the top results:
The tool automatically detects your operating system and uses the appropriate method.

Platform-Specific Methods

DNS-MNS supports multiple Linux DNS management systems:

systemd-resolved (Default on Ubuntu 18.04+, Fedora, etc.)

Creates a configuration file at /etc/systemd/resolved.conf.d/dns-mns.conf:
Then restarts the service:

NetworkManager

Uses nmcli to configure the active connection:

Fallback (resolv.conf)

If neither systemd-resolved nor NetworkManager is available:

Manual DNS Configuration

You can also set DNS manually using option 2 from the main menu:

Using Custom DNS

Select option 99 to enter custom DNS IPs:

Verifying DNS Changes

After setting DNS, verify it’s working:

Making DNS Persistent

By default, DNS changes made by DNS-MNS are persistent. However, some systems may reset DNS on reboot.
For NetworkManager:
For systemd-resolved: The configuration file at /etc/systemd/resolved.conf.d/ is automatically persistent.

Administrator Privileges

DNS-MNS automatically requests elevated privileges when needed:
  • Linux/macOS: Prompts for sudo password
  • Windows: Requires running as Administrator
If you see “Permission denied”, run the tool with elevated privileges: