[osx] get secondary DNS

this PR will get secondary DNS on osx. Sleep(100); is added as popen takes sometime to finish.
Yes - thx :)