Check if DNS round robin is possible #7
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'd like to use multiple servers with DNS round robin, so that I don't have a SPOF. The source code of cloud-init appears to use pythons' requests library for retrieving the files. I tried a simplified version of the same code in command line python, and it looks like if there are multiple A records, for each retry loop, it will try each IP address. I used wireshark becuase the doesn't seem to be any obvious way to dump the IP address from requests if the TCP connection fails. So for many types of failures, a simple multiple DNS records would work. However for some responses it may not help, e.g. if the server returns a code 200 but garbled content. But I'm not sure if that's even a scenario which we have to protect against.