1.

Which one of the following function checks for the existence of DNS records?(a) checkdns()(b) checkdnsr()(c) checkdnsrr()(d) checkdnsa()I have been asked this question in semester exam.My question is from Networking with PHP in chapter File and Session Handling in PHP of PHP

Answer»

Correct option is (c) checkdnsrr()

Easiest explanation: The function checkdnsrr() is used to check DNS RECORDS for TYPE corresponding to host.DNS records are checked based on the SUPPLIED host value and optional DNS resource RECORD type, returning TRUE if any records are located and FALSE otherwise.



Discussion

No Comment Found

Related InterviewSolutions