This lab provides you with the instructions and practical
experience setting up a cache only name server. This type of DNS server
does not control any domains, and are therefore not "Authoritative" for
any domains. A caching/forwarding DNS server only forwards requests to
an upstream server, such as one at your ISP. A Caching only DNS server
saves the answers to queries that it forwards, so they can be reused
later
You can configure your host to always query a remote DNS name server
and not run DNS locally, or you can configure your host (workstation)
to resolve hostnames by running your own DNS server. You may want to
take advantage of both methods. You query the remote DNS Name Server
but keep track locally (cache) of names and IP addreses that have been
resolved.
You are responsible for reading and understanding DNS
in the BSD Handbook
Understanding the Bind-Style configuration file:
setting-block {
string-setting "string value";
keyword-setting keyword;
ip-setting 127.0.0.1;
manyip-setting { 10.100.1.1; 10.100.1.2; 10.100.1.3; };
};
//comment
#another comment
/*
* many line
* c-style
* comment
*/
complex-block "somevalue" {
string-setting "string value";
keyword-setting keyword;
ip-setting 127.0.0.1;
manyip-setting { 10.100.1.1; 10.100.1.2; 10.100.1.3; };
};
What nameserver was queried first?
What type of query was made?
What was the response from the nameserver?
What port does BIND listen on.?
Which lookup command do you prefer and why? Perfect question for your
final exam is "compare theses tools"
Is your caching only DNS server working and how would you know? (again
expect this question on you final exam)
Last updated: 2010-03-03
Written by Cheri Weaver