Details of BGPDNS
BGPDNS takes leftmost AS number of best path (which is the active path from our point of view)
BGPDNS takes a list of all prefixes of the upstreams
-
- “show ip bgp regexp ^leftmost-as$”
BGPDNS loops over the „IN A“ records to find the local IP that is within one of these upstream prefixes and assigns the highest weight to it
-
- It has to be because all the „IN A“ IP‘s are form our upstreams
- If not, normal round-robin applies as usual