There are any number of utilities (ping, ipconfig) that tell you your DNS server names how do I get this in a program? I dont even know if resolv.conf exists and/or is used in Android andI'm hoping there is a socket parameter or call that will provide the information although I'm not finding it thru Google.