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 278 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.
    • The Computer GuyT
      The Computer Guy
      last edited by The Computer Guy

      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
      • The Computer GuyT
        The Computer Guy
        last edited by

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.