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

    Override domain.ext to ip?

    Scheduled Pinned Locked Moved DHCP and DNS
    5 Posts 3 Posters 706 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.
    • F
      FuriousRage
      last edited by

      I am trying to change the IP for a few domains, but after searching alot, and trying others tips. nothing work as expected.

      Nothing in the "host" textbox are saved at all.
      Nothing in the Domain resolves to the IP i chose.

      using pfSense 2.2.6.8-RELEASE (amd64) FreeBSD 10.1-RELEASE-p31

      both dig and nslookup shows the real ip's.
      ab.png
      ab.png_thumb

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        Not enough detail.  Are you running the Forwarder or Resolver?  Are your clients using pfSense as their DNS?  Do you have firewall rules in place to prevent your clients from using external DNS?

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

          if your doing host overrides yes there would be something in the host box, ie host and then domain.tld in the domain section.  You have to put it in the right area.. If you using forwarder then in the forwarder, if using resolver then in the resolver section.

          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 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • F
            FuriousRage
            last edited by

            I am using resolver, but figured out to add
            server:
            local-zone: "example.com" redirect
            local-data: "example.com 86400 IN A 192.168.1.54"
            in the advanced textbox above, and it worked like i wanted.

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

              that is something completely different than a host override or a domain override..  With that your doing a wildcard for anything.example.com to 192.168.1.54

              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 24.11 | Lab VMs 2.8, 24.11

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