# DNS RoundRobin handling

- Thread: https://externals.io/message/67804
- Original archive: https://news-web.php.net/php.internals/67804
- Started by Tomasz Sawicki on 2013-06-25T12:40:54+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #67804 — Tomasz Sawicki — 2013-06-25T12:40:54+00:00

URL: https://externals.io/message/67804#67804

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
