Summary: | emerge --sync should do random DNS roundrobin | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Ortwin Glueck <odi> |
Component: | Core - Interface (emerge) | Assignee: | Gentoo Infrastructure <infra-bugs> |
Status: | VERIFIED NEEDINFO | ||
Severity: | major | CC: | dev-portage |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ortwin Glueck
2005-05-31 10:48:54 UTC
the 'randomness' that comes from round robin dns comes from the layers below portage portage itself should not (and does not) care about the info given to it in other words you're gonna have to invesigate your system and see what has changed on it such that the order is given back the same everytime Also, this is the expected behavior of DNS. When you issue a DNS query against a round robin A record, it returns all results. Your DNS client picks one and caches it based on the associated TTL of the record. It will continue to use that record until a point where the TTL expires. Kurt, no a DNS client should be aware of round robin and issue a different IP on every request. You can check this with two consecutive pings. These two were performed on people.apache.org: -bash-2.05b$ ping rsync.europe.gentoo.org PING rsync.europe.gentoo.org (193.190.198.20): 56 data bytes -bash-2.05b$ ping rsync.europe.gentoo.org PING rsync.europe.gentoo.org (147.32.127.222): 56 data bytes These two were performed at our site: $ ping rsync.europe.gentoo.org PING rsync.europe.gentoo.org (195.86.128.57): 56 data bytes $ ping rsync.europe.gentoo.org PING rsync.europe.gentoo.org (195.86.128.57): 56 data bytes So it is a local DNS cache problem of our site DNS server. i guess it depends on your definition of 'dns client' ... ping uses glibc for resolving names and (afaik) so does python |