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

    Redirect DNS Lookups

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 881 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.
    • U Offline
      ukhost4u
      last edited by

      Hello.

      OK, first of all I better explain that we run PFSense in-line and as such we don't have access to all the features and it does no routing etc.

      The problem i have is that I would like my PFSense router to do DNS lookup's for servers but most currently have them setup as:

      nameserver 8.8.8.8 in the /etc/resolv.conf

      So I want a that will take any traffic to port 53 or even the IP 8.8.8.8 and re-route it to my local PFsense system for resolving.

      This is a can't add a rule into the NAT as we don't use it (Like the suggestion i the docs) and I also can't use DNS Forward for a number of reasons.

      Any suggestions?

      Paul.
      ukhost4u.com

      1 Reply Last reply Reply Quote 0
      • D Offline
        doktornotor Banned
        last edited by

        Yeah. Configure the servers properly.

        1 Reply Last reply Reply Quote 0
        • johnpozJ Online
          johnpoz LAYER 8 Global Moderator
          last edited by

          Interception and redirection of traffic is bad idea all the way around..

          Would you want someone doing that to your traffic.. If your box says its using 8.8.8.8 for dns then is should be freaking using that, if it can not get there that is one thing… But something up the line from me should not take my traffic going to 8.8.8.8 and redirect it anywhere..

          So fix your servers to use the dns you want them to use.

          Why a "server" would of pointed to 8.8.8.8 vs some local dns in the first place is curious question I have... Seem pretty stupid out of the box not to point your devices to your local dns.. If you did not have local dns that would of been the first thing to setup before setting up other boxes ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.