So, to answer your question, it seems like you're connected to multiple networks and are receiving conflicting or infrequent responses via mdns.
From your log files you're getting mdns responses indicating 172.16.2.176 for api-beta.