I have been noticing more and more frequently then when I switch between WiFi connections or switch between wired and WiFi connections that sometimes my WiFi connection would show that it was online, but I was unable to access anything on the LAN or WAN. I have experienced similar issues when DNS is not working properly, so my first test is to validate DNS is working. With this recent issue my test always returned:
$ > nslookup cnn.com
/SourceCache/bind9/bind9-45.101/bind9/lib/isc/unix/socket.c:1890: internal_send: 192.168.1.1#53: Cannot allocate memory
So what is going on and how can you fix the issue?