Does anyone knows how can i detect from an app the DNS of the iPhone?
UPDATE: If there’re different ways of obtaining the DNS server and DNS host name, any solution is acceptable.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To get the host name you can use libc API, gethostname: