Description: Design a DNS server program that reads the "IP address- domain name" table, when the client queries the corresponding IP address, the domain name to retrieve the table, there are three possible search results:
Search Results: ip address 0.0.0.0, then returned to the client "domain name does not exist" error message (bad site blocking features)
Search Results: Normal IP address, the address is returned to the client (server function)
Table did not check into this domain, the DNS server sends queries to the Internet, and the results returned to the client (relay function)
Consider a client on multiple computers simultaneously queries the need for conversion of message ID
To Search:
File list (Check if you may need any files):
dns.cpp