Anthony

Only available on StudyMode
  • Download(s) : 82
  • Published : April 17, 2012
Open Document
Text Preview
25
Answers to Even-numbered Exercises
2. What kind of DNS record is likely to be returned when a Web browser tries to resolve the domain part of a URI? 1. What kind of server responds to recursive queries? How does this server work?

An A (address) record points to a domain. 3. What are MX resource records for? 4. How would you find the IP address of example.com from the command line? $ hostname example.com

or
$ dig example.com

6. How would you instruct a DNS server to respond only to queries from the 137.44.* IP range? 5. How would you instruct a Linux system to use the local network’s DNS cache, located at 192.168.1.254, or the ISP’s DNS cache, located at 1.2.3.4, if the LAN nameserver is unavailable?

Add the following line to the Options clause in /etc/bind/named.conf: allow-query { 137.44.0.0/24 };

8. How would you set up a private domain name hierarchy that does not include any of the official InterNIC-assigned domain names? 7. How might a resolver attempt to find the IP address of in?

Set up a DNS cache that defines the zone . (period) clause explicitly, rather than relying on the hint file. 9. Which part of DNS is most vulnerable to an attack from a malicious user and why?

1

2

10. It is often irritating to have to wait for DNS records to update around the world when you change DNS entries. You could prevent this delay by setting the TTL to a small number. Why is setting the TTL to a small number a bad idea? Setting the TTL to a small number prevents DNS caches from holding DNS entries for very long. Small TTL values place a large load on the local DNS server because every query about the domain is forwarded to the local server. 11. Outline a method by which DNS could be used to support encryption.

tracking img