-
|
Howdy, I am using CoreDNS 1.8.3 on FreeBSD with the following test zone file:
Everything is working as expected but the IP addresses returned for the record "newserver.learning.go" are always 18.18.18.18 and "19.19.19.19" in this specific order, and not returned in a RoundRobin way as I would expect. Am I doing anything wrong here or this is not expected from this CoreDNS configuration? I have checked the "loadbalance" plugin but it looks like it works only by load-balancing replies coming back from the DNS forwarders specified in the config file, and not by returning its own records in RoundRobin if one record has multiple entries in the zone file. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
loadbalance round_robin was placed in the incorrect config file section. Here the correct config file:
Record with multiple IPs are being returned in a RoundRobin fashion now :) |
Beta Was this translation helpful? Give feedback.
loadbalance round_robin was placed in the incorrect config file section. Here the correct config file:
.:53 {hosts /usr/local/etc/coredns/zone.conf {reload 1sttl 1}loadbalance round_robinerrors}Record with multiple IPs are being returned in a RoundRobin fashion now :)