Difference between revisions of "OPS535 DNS Review"
(→DNS review/tutorial Lab) |
|||
Line 1: | Line 1: | ||
+ | [[Category:OPS535]][[Category:rchan]] | ||
=Name Resolution on Linux systems = | =Name Resolution on Linux systems = | ||
* control file: /etc/nsswitch.conf | * control file: /etc/nsswitch.conf | ||
Line 25: | Line 26: | ||
* [https://scs.senecac.on.ca/~raymond.chan/ops535/1503/exs/pri-dns-4-scs.tar.gz tar ball gz file with named.conf and zone files] | * [https://scs.senecac.on.ca/~raymond.chan/ops535/1503/exs/pri-dns-4-scs.tar.gz tar ball gz file with named.conf and zone files] | ||
After downloading the gzip tar ball file to your system, you should backup the files and sub-directories in /var/named/chroot before unpacking the files from the tar ball. | After downloading the gzip tar ball file to your system, you should backup the files and sub-directories in /var/named/chroot before unpacking the files from the tar ball. | ||
+ | |||
+ | = DNS Extras = | ||
+ | * [[BIND & DNS Notes]] |
Revision as of 09:59, 1 February 2018
Contents
Name Resolution on Linux systems
- control file: /etc/nsswitch.conf
File Based Name Resolution
Flat file name resolution
- mapping information store in /etc/hosts
- same contents on each system share the same name space
DNS name resolution
- use client-server model
DNS Client (Resolver)
- Configuration file: /etc/resolv.conf - mainly tells the local computer which machines should be used to answer your DNS queries.
DNS Server (BIND)
- Configuration file: /etc/named.conf - server options and which domains are their resposibility
- Zone files: location specified in the /etc/named.conf - contains information of the zone(s)
- Role of server:
- Cache-only server
- Primary Server
- Secondary Server
- Root name server
DNS review/tutorial Lab
If you want to refresh your memory about setting up a DNS server, please try the following lab exercise. The following lab exercise contains a simple configuration file named.conf and the necessary zone files for you to practice. The following two links will take you to the DNS lab exercise document (in PDF format) and the gzip tar ball file, which contains the BIND configuration file and the zone files:
After downloading the gzip tar ball file to your system, you should backup the files and sub-directories in /var/named/chroot before unpacking the files from the tar ball.