Php Networking - Study Mode

[#1] What is the full form of DNS?
Correct Answer

(D) Domain Name System

Explanation

Solution: The Domain Name System(DNS) is what allows you to use domain names(e.g., example.com) in place of the corresponding IP address, such as 192.0.10.10.

[#2] Which one of the following function checks for the existence of DNS records?
Correct Answer

(C) checkdnsrr()

Explanation

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.

[#3] Which one of the following function is used to return an array consisting of various DNS resource records pertinent to a specific domain?
Correct Answer

(A) dns_get_record()

[#4] Which one of the following function is used to retrieve the MX records for the domain specified by hostname?
Correct Answer

(C) getmxrr()

[#5] What is the default port number of HTTP’s?
Correct Answer

(B) 80