I’m studying http://www.php.net/manual/en/function.dns-get-record.php and there seems to be no option to set a custom DNS server. Are there any alternative function in PHP that can do that?
Thanks!
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.
Look at the PEAR’s library Net_DNS2 : http://pear.php.net/package/Net_DNS2
You can specify which nameserver you want to query to.