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

    DNS Resolver - Domain with Multiple IP's (Round Robin)

    Scheduled Pinned Locked Moved DHCP and DNS
    11 Posts 3 Posters 4.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      Not sure when I wrote that.. do you still happen to have link to that old thread handy?

      If I am not mistaken its not really the requirement of ns to return them in random order, when more than one RR is returned the client should randomly pick one.. A while back unbound did not even have an option to set that... But in one of updates they did add
      rrset-roundrobin:

      Which default to no... So if you set it to yes.. Then you can then get it to hand out random

      I just validated this
      validate.png

      then when you query you get back random order.

      $ dig @192.168.9.253 host.example.com +short
      10.10.10.1
      10.10.10.2
      10.10.10.3
      
      $ dig @192.168.9.253 host.example.com +short
      10.10.10.3
      10.10.10.1
      10.10.10.2
      
      $ dig @192.168.9.253 host.example.com +short
      10.10.10.1
      10.10.10.2
      10.10.10.3
      
      $ dig @192.168.9.253 host.example.com +short
      10.10.10.2
      10.10.10.3
      10.10.10.1
      

      Hope that helps!

      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
      • KOMK
        KOM
        last edited by KOM

        Unbound examples I see talk about this option: rrset-roundrobin: yes.

        https://forum.netgate.com/topic/120486/round-robin-for-dns-forwarder-network-address/3

        Edit: Haha you got it straight from the horses mouth.

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

          hehe - beat you too it @KOM, your too slow ;) heheheh

          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
          • KOMK
            KOM
            last edited by

            What can I say, I'm old.

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

              heheeh - you older than me? I turn the big double nickel here in 6 short months :( Only good thing is going to be able to get some senior discounts... The track is half price to get in for GA ;) 4 bucks vs 8... hehehe

              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
              • KOMK
                KOM
                last edited by

                53 in October.

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

                  So not far behind - us old guys need to stick together :)

                  edit:
                  Maybe we should start a older than 50 group here.. I am really curious how many of the regs are of a mature age ;) Lucky for us 60 is the new thirty ;) I sure and the F do not feel like mid 50's that is for damn sure..

                  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

                  KOMK 1 Reply Last reply Reply Quote 0
                  • H
                    Hass
                    last edited by

                    Thank you all,

                    @johnpoz for reference this is the link I was referring to:
                    https://forum.netgate.com/topic/98580/services-dns-resolver-add-host-override-with-multiple-ip-addresses/4

                    I found the rrset-roundrobin: yes and was worried it did more than what I wanted so didn't want to make the change on the product boxes.

                    But I have now and it's working a treat!

                    Thanks

                    Hass

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

                      @johnpoz a53d8b422310ad8b0eecb75eb66c89cd.jpg

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

                        Wow that was back from 2016 ;) nice that still came in useful.. And now we have the new info with the round robin.. Glad it worked out for you and I could be of help..

                        Yup thats us old guys bitchin at the users from the balcony - heheeh ;)

                        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.