• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

DNS Redirection & Host Override

Scheduled Pinned Locked Moved DHCP and DNS
2 Posts 1 Posters 283 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    The Computer Guy
    last edited by The Computer Guy Sep 12, 2021, 11:00 AM Sep 12, 2021, 10:59 AM

    I'd like to force DNS redirection using the Netgate Document online.

    https://docs.netgate.com/pfsense/en/latest/recipes/dns-redirect.html

    But also need a Host Override in place for HTTPS Redirection.

    Ideally I would like to force the DNS through DNS servers other than the DNS servers used for the firewall, as the portal traffic will be passed through to SafeDNS, any suggestions?

    1 Reply Last reply Reply Quote 0
    • T
      The Computer Guy
      last edited by Sep 12, 2021, 5:55 PM

      I've come up with a solution (I hope!)

      I've created a subdomain on the domain that I have a wildcard certificate for. This is set to the IP address of the interface. i.e portalabc.domain.co.uk > 192.168.200.1

      I'm not really fussed about anyone trying to visit portalabc.domain.co.uk outside of the network.

      I did notice though, using either the DNS Forwarder or Resolver on the admin LAN, I have to add it as a host override, otherwise ping returns "host not found" for a subdomain pointing to an rfc 1819 IP.

      Is this setup likely to cause issue somewhere?

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received