Configure DNS Forwarding for the Top 10 DNS Servers
The following article shows how to configure DNS forwarding on the top 10 commonly used DNS servers like Windows Server, Bind, PowerDNS and others.
Note: If you are changing DNS to forward to Securd IP addresses 142.202.107.1 and 142.202.107.2, perform Configure a Static IP Site to use Securd DNS first.
Windows Server (DNS Server Role)
Open DNS Manager.
- Right-click on the server name and select "Properties."
- Go to the "Forwarders" tab.
- Click "Edit" and enter the IP addresses 142.202.107.1 and 142.202.107.2 as the DNS servers to forward queries.
- Click "OK" to save.
BIND (Berkeley Internet Name Domain)
- Edit named.conf.
- Add forwarders in the options section.
forwarders {
142.202.107.1;
142.202.107.2;
};
- Save and restart BIND.
Linux (system-wide DNS settings)
- Edit /etc/resolv.conf.
- Add "nameserver" lines with DNS server IPs.
nameserver 142.202.107.1
nameserver 142.202.107.2
- Save and restart networking.
ISC DHCP Server
- Edit dhcpd.conf.
- Configure option domain-name-servers.
option domain-name-servers 142.202.107.1, 142.202.107.2;
- Restart DHCP service.
dnsmasq
- Edit /etc/dnsmasq.conf.
- Add "server" lines with DNS server IPs.
server=142.202.107.1
server=142.202.107.2
- Restart dnsmasq.
PowerDNS (Recursor)
- Edit pdns.conf.
- Set forward-zones to forward specific domains.
forward-zones=mydomain.com=142.202.107.1, 142.202.107.2
- Restart PowerDNS.
Unbound
- Edit unbound.conf.
- Configure forward-zone sections.
forward-zone:
name: "."
forward-addr: 142.202.107.1
forward-addr: 142.202.107.2
- Restart Unbound.
CoreDNS
- Edit Corefile.
- Add forward plugin configuration.
.:53 {
forward . 142.202.107.1 142.202.107.2
}
- Reload CoreDNS.
Updated about 1 year ago