- pfSense 2 Cookbook
- Matt Williamson
- 294字
- 2021-04-09 21:16:42
Specifying alternate DNS servers
This recipe describes how to configure pfSense to use DNS servers other than those provided by your WAN connection.
Getting ready
When it comes to resolving DNS names, most environments will rely on the DNS servers provided by their ISP through their WAN connection. By default, no DNS servers are defined in pfSense and the Allow DNS server list to be overridden by DHCP/PPP on WAN is checked. However, to manually specify alternate DNS servers follow the instructions in the next subsection.
How to do it...
How it works...
The DNS servers specified here are the system defaults and will always take priority unless specifically overridden by the following options.
Note
The DNS servers listed here (4.2.2.1 – 4.2.2.4) are public DNS servers that are often very helpful when trying to troubleshoot and diagnose DNS issues.
Using the DNS Forwarder
If the DNS Forwarder is enabled, we can override the DNS servers for individual domains or even override results for individual devices. For more information, see the following Configuring the DNS Forwarder recipe. The DNS Forwarder takes precedence over all DNS requests.
Using your WAN DNS servers
When Allow DNS server list to be overridden by DHCP/PPP on WAN is enabled, pfSense will attempt to resolve DNS names using the DNS servers provided by the WAN before failing over to the servers defined in this list. After the DNS Forwarder, this option takes precedence over DNS requests.
See also
- The Configuring the DNS Forwarder recipe
- UG NX 12.0中文版完全自學一本通
- 商用級AIGC繪畫創作與技巧(Midjourney+Stable Diffusion)
- After Effects CC影視后期制作實戰從入門到精通
- ERP沙盤模擬簡明教程
- Talend Open Studio Cookbook
- AutoCAD 2014電氣設計從入門到精通
- DWR Java AJAX Applications
- 音樂日記:Logic Pro X場景x風格編曲實用教程
- Cinema 4D完全實戰技術手冊
- Flash基礎與實戰教程
- Oracle 11g Streams Implementer's Guide
- ChatGPT+AI文案寫作實戰108招
- Python 3 Web Development Beginner's Guide
- Oracle BI Publisher 11g: A Practical Guide to Enterprise Reporting
- Creo 4.0中文版基礎教程