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

    Multiple IPs for one DNS entry in unbound resolver override

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 2.6k 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
      tm_an
      last edited by

      We use the unbound resoler overrides as internal DNS.

      I would want to configure a pool of hosts as one DNS entry, with several IPs as result, so the internal client would connect to any of the pool servers. Yet the host override does not allow multiple IPs.

      I saw the topic "Services/DNS Resolver add host override with multiple ip addresses?" from 2016 which basically asks for the same thing, but with no solution.

      My issue could be resolved setting up a loadbalancer on the pfsense, but it seems like overkill for such a simple topic.

      Is it possible to enter multiple IPs per DNS name somehow?

      Cheers,
      Tobias

      1 Reply Last reply Reply Quote 0
      • T
        tm_an
        last edited by

        I "solved" the issue by enableling custom options on "Services > DNS Resolver > General Settings" and entering the IPs in the following way:

        server:
        local-data: "host.my.domain. A 192.168.1.1"
        local-data: "host.my.domain. A 192.168.1.2"
        local-data: "host.my.domain. A 192.168.1.3"
        

        It's not nice, but it works.

        1 Reply Last reply Reply Quote 0
        • viktor_gV
          viktor_g Netgate
          last edited by

          Feature request: https://redmine.pfsense.org/issues/10896

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