-
Notifications
You must be signed in to change notification settings - Fork 438
Open
Description
Hello,
The getbyname/2 function changes the resolver’s address list by calling lists:usort/1. This removes duplicates and reorders the addresses, which breaks dns randomness.
In Kubernetes, Service A record returns all pod IPs with randomized order for basic load spreading. Sorting the list removes this randomness, so clients repeatedly connect to the same pod IP instead of distributing requests across all of them.
juanmancebo, tony-hadjiivanov, fabiosuarez-sumup, hemillainy, dcmariotti and 4 more
Metadata
Metadata
Assignees
Labels
No labels