Computer Science 105
Quiz
Question
(15 Points):
Write the code to retrieve information from DNS.
-
Turnin your code as dnsaccess.c assignment #24
-
Your program should accept a name or an IP address
-
Your program should use the 'new' DNS structure
-
Your program should use getaddrinfo
-
Do not use any of the I/O routines developed as part
of the book.
-
In your comments, indicate how long you spent developing
the program
-
Your program should be commented very very well,
convince me that you know what is happening
-
Your program should print out all the addresses returned
-
You can only use the course notes and/or the book as sources for this
program, i.e., stay off the Internet.
Last Modified Thursday, 30-Jun-2011 12:44:16 PDT