githubEdit

6Use NAT64

Fix access problems only on providers that use IPv6.

NAT64 DNS with Systemd-Resolved

Using NAT64arrow-up-right with Systemd-Resolved.

# Install Systemd-Resolved
sudo apt install -y systemd-resolved
sudo dnf install -y systemd-resolved
sudo pacman -S --noconfirm systemd-resolved
sudo zypper -n install systemd-resolved

# Enable and start Systemd-Resolved
sudo systemctl enable systemd-resolved
sudo systemctl start systemd-resolved

# Configure Systemd-Resolved
sudo tee /etc/systemd/resolved.conf &>/dev/null << EOF
[Resolve]
DNS=2a00:1098:2b::1
DNS=2a00:1098:2c::1
DNS=2a01:4f8:c2c:123f::1
DNS=2a01:4f9:c010:3f02::1

Domains=~.
DNSOverTLS=no
EOF

# Make /etc/resolv.conf a symlink to Systemd-Resolved file
[ -e /run/systemd/resolve/stub-resolv.conf ] && sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf

# Restart Systemd-Resolved for the changes to take effect
sudo systemctl restart systemd-resolved

TIP: Remove DNS settings

You can remove it as follows.

Last updated