Specifying alternate DNS servers
This recipe describes how to configure pfSense to use DNS servers other than the ones provided by your WAN connection.
Getting ready
In most environments, routers rely on DHCP servers specified by the ISP through their WAN connection. For this reason, by default, pfSense has the Allow DNS server list to be overridden by DHCP/PPP on WAN option enabled. To specify alternate DNS servers manually, we will have to disable this option, which we will do in the following recipe.
How to do it...
- Navigate to
System
|General Setup
. - In the
DNS Servers
section, make the following changes:- Specify DNS servers in the
DNS Servers
edit boxes. You also have an option to select the gateway for each DNS server using the adjacentGateway
drop-down box. If you want to add more than two DNS servers, click on theAdd DNS Server
button, and another edit box will appear. - Uncheck the
Allow DNS server list to be overridden by DHCP/PPP on WAN
checkbox.
- Specify DNS servers in the
- Click on the
Save
button.
How it works...
We have...