0% found this document useful (0 votes)
45 views1 page

Day 21 1 Webserver2 13

This document provides instructions for configuring DNS server and forward lookup on a system. It describes adding lines to the named.conf file to define a master zone for "google.com". It also explains copying a sample forward lookup zone file, editing it to define the SOA record and server records for google.com, and saving it as google.for. The steps configure the DNS server with forward lookup records for google.com.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Day 21 1 Webserver2 13

This document provides instructions for configuring DNS server and forward lookup on a system. It describes adding lines to the named.conf file to define a master zone for "google.com". It also explains copying a sample forward lookup zone file, editing it to define the SOA record and server records for google.com, and saving it as google.for. The steps configure the DNS server with forward lookup records for google.com.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Configuring DNS Server

/var/named/chroot/etc/named.conf

Open Openconfiguration configurationfor forediting editing [root@comp1~]# [root@comp1~]#vi vi/etc/named.conf /etc/named.conf

To Toadd addthe thebelow belowlines lines zone google.com" IN { zone google.com" IN { type typemaster; master; file filegoogle.for"; google.for"; }; };

Configuring Forward Lookup

/var/named/chroot/var/named/google.for

Copying CopyingForward Forwardlookup lookupzone zonefile file

To Toadd addthe theoptions options $TTL $TTL 86400 86400 @ IN @ IN SOA SOA
server.google.com. server.google.com.root.google.com. root.google.com.( (

cp cp/usr/share/doc/bind-9.3.3/sample/var/named/ /usr/share/doc/bind-9.3.3/sample/var/named/ localhost.zone localhost.zone /var/named/chroot/var/named/google.for /var/named/chroot/var/named/google.for

42 42 3H 3H

;;serial serial(d. (d.adams) adams) ;;refresh refresh ;;retry retry ;;expiry expiry ;;minimum minimum

Open Openconfiguration configurationfor forediting editing [root@comp1 ]#cd /var/named/chroot/var/named/ [root@comp1 ]#cd /var/named/chroot/var/named/ [root@comp1 [root@comp1named]# named]#vim vim google.for google.for
server server server2 server2 www www IN IN IN IN IN IN IN IN NS NS A A A A

15M 15M 1W 1W

1D 1D)) server.google.com. server.google.com. 192.168.0.253 192.168.0.253 192.168.0.252 192.168.0.252

CNAME CNAME server2 server2

You might also like