How to do it...

  1. Configure pfSense as a DHCP server. See the Configuring the DHCP server recipe for details.
  2. Create DHCP mappings for every device in the system that will obtain its IP address automatically through DHCP. See the Creating static DHCP mappings recipe for details.
  1. Navigate to System | General Setup.

  1. Ensure that no other DNS servers are specified.
  2. Check the Allow DNS server list to be overridden by DHCP/PPP on WAN checkbox. This will enable pfSense to resolve external addresses using the DNS servers provided by your ISP through your WAN connection.
  3. Click on the Save button.
  4. Navigate to System | DNS Resolver.
  5. Check the Enable DNS Resolver checkbox.

  1. Check the Register DHCP static mappings in the DNS Resolver checkbox.

  1. Create a Host record for any device that needs to be resolved but doesn’t have a DHCP mapping (that is, devices that define their own IP).
  2. Create a Domain record for any DNS requests you’d like to redirect for a particular domain.
  3. When you are done, click on the Save button.
  4. Click on the Apply Changes button.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.70.254