DNS RoundRobin handling
| From: | Tomasz Sawicki | Date: | Tue, 25 Jun 2013 12:40:54 +0000 |
| Subject: | DNS RoundRobin handling | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-67804@lists.php.net to get a copy of this message | ||
Hi all,
I'm having trouble to utilize DNS RoundRobin. It's described in StackOverflow question: http://stackoverflow.com/questions/17209912/php-not-respecting-roundrobin-in-dns
In short: file_get_contents, SOAP extension always connect to the first (lowest) IP address, and gethostbyname resolves the address correctly using RoundRobin algorithm (ping, wget, nslookup, etc. works with RoundRobin too).
Is this desired behaviour (if so - why) or should I report a bug?
Thanks.
--
Tomasz Sawicki