Contents
DNS
Caching DNS servers (for use as resolver for your server)
Host Name |
IPv4 Address |
IPv6 Address |
Location |
---|---|---|---|
nscache01.leaseweb.net | 23.19.53.53 | 2607:f5b5:3::3 | Global |
nscache02.leaseweb.net | 23.19.52.52 | 2607:f5b5:2::2 | Global |
How to configure Leaseweb resolvers
For Windows Systems
- Open Command Prompt as Administrator
- Login as administrator
- Press Win+r and type CMD
- Type netsh and press Enter.
- At the netsh> prompt, type interface ip show config, then press Enter.
- Locate the network connection for which you want the DNS server changed.
- Enter interface ip set dns “Ethernet0” static 23.19.53.53, 23.19.52.52, and press Enter.
- Replace Ethernet0 with the name of your connection and 23.19.53.53, 23.19.52.52, 2607:f5b5:3::3, 2607:f5b5:2::2 with the DNS server you want to use.
- To check the. configuration:
- At the netsh> prompt, type interface ip show config, then press Enter.
- You should see something like the following
For Linux Systems
-
Edit the systemd-resolved Configuration File:
Open the
systemd-resolved
configuration file for editing using a text editor likenano
orvi
. On most systems, this file is located at/etc/systemd/resolved.conf
. You may need superuser privileges to edit this file, so usesudo
:sudo nano /etc/systemd/resolved.conf
-
Add the Nameserver:
In the configuration file, you can specify the DNS servers using the
DNS
directive. If the directive does not exist, you can add it. If it already exists, you can append additional DNS servers to it.[Resolve] DNS=23.19.53.53 23.19.52.52 2607:f5b5:3::3 2607:f5b5:2::2
You can add multiple nameservers separated by spaces.
-
Restart systemd-resolved:
After editing the configuration file, you should restart the
systemd-resolved
service for the changes to take effect:sudo systemctl restart systemd-resolved
-
Verify the Changes:
You can verify that your custom nameservers are in use by queryingsystemd-resolved
for DNS information. Use thesystemd-resolve
command to check:sudo resolvectl status