Vidyalelo
PHP · Q2

PHP Networking

Programming · PHP · question 2

Q2

Which one of the following function checks for the existence of DNS records?

A.
checkdns()
B.
checkdnsr()
C.
checkdnsrr()
Answer
D.
checkdnsa()

Answer: Option C

Solution

Answer: Option C
Solution:
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.