add dns command to nslookup and ping
correct flushdnsosx for yosemite