--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Michael, thanks for your follow-up. It's clear that VPN has some sort of impact on RabbitMQ 3.5.x, but what's surprising is that DNS resolution for localhost using python API is *instant* under the circumstances. This includes both socket.gethostbyname and socket.getaddrinfo (ipv4 and ipv6). Same with `dscacheutil -q host -a name www.example.com` - instant!.
*** It looks like that RabbitMQ is using a questionable dns resolution method that bypasses both /etc/hosts and /private/etc/hosts on Mac OS X and going directly to the network. Otherwise it would have instantly picked up both IPv4 and IPv6 addresses from the hosts files, just like python API and dscacheutil. Both of my mac's hosts files contain localhost mappings for both IPv4 and IPv6.
/etc/hosts:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
/private/etc/hosts:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost