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

    Round robin for dns forwarder network address

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 3 Posters 1.7k 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.
    • L
      limbooface
      last edited by

      I have a round robin list of ips for one of my storage nodes but so far on pfsense 2.3.3-RELEASE (amd64) I am only able to add the one ip address in host overrides in the dns forwarder.

      I read somewhere that creating a list /etc/roundrobin

      8.8.8.8 google.com.local
      8.8.4.4 google.com.local

      and then add in the dns forwarder addn-hosts=/tmp/roundrobin

      But where do I add this in the pfsense version I have.  Has anyone got round robin working on pfsense?

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        @limbooface:

        But where do I add this in the pfsense version I have.

        In the "Custom options" entry field.

        (I would restart the forwarder and check that the "addn-hosts=/tmp/roundrobin  " is present in the config file ).

        I don't know how the forwarder could "round robin" hosts ….

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          Not sure if you can or with forwarder, but this is pretty simple in the resolver (unbound)

          You can just do it in the custom options box..

          server:
          rrset-roundrobin: yes
          local-zone: "google.com.local" transparent
          local-data: "google.com.local A 8.8.8.8"
          local-data: "google.com.local A 8.8.4.4"

          So see how it changes the order of returned.

          Curious what possible function this could?  For pointing to googledns?

          roundrobin.png
          roundrobin.png_thumb

          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.