Book Image

Learn pfSense 2.4

By : David Zientara
Book Image

Learn pfSense 2.4

By: David Zientara

Overview of this book

As computer networks become ubiquitous, it has become increasingly important to both secure and optimize our networks. pfSense, an open-source router/firewall, provides an easy, cost-effective way of achieving this – and this book explains how to install and configure pfSense in such a way that even a networking beginner can successfully deploy and use pfSense. This book begins by covering networking fundamentals, deployment scenarios, and hardware sizing guidelines, as well as how to install pfSense. The book then covers configuration of basic services such as DHCP, DNS, and captive portal and VLAN configuration. Careful consideration is given to the core firewall functionality of pfSense, and how to set up firewall rules and traffic shaping. Finally, the book covers the basics of VPNs, multi-WAN setups, routing and bridging, and how to perform diagnostics and troubleshooting on a network.
Table of Contents (14 chapters)

Introduction to DNS

DNS is a hierarchical, decentralized system for mapping internet names to resources, most notably to IP addresses. It does this by designating authoritative name servers for each domain. Authoritative name servers can delegate authority over subdomains to other name servers. Thus, DNS provides both a form of decentralization and fault-tolerance.

From the earliest days of the internet, the idea of mapping easily-remembered names to less easily-remembered numbers (such as IP addresses). ARPANET used a text file called HOSTS.TXT (/etc/hosts on UNIX-based systems) that mapped hostnames to their numerical addresses. At the time, addresses were added manually.

Even when the list was relatively small, this manual system was cumbersome and prone to error. By the early 1980s, however, maintaining a single, centralized list became unmanageable, and the growing networks...