0% found this document useful (0 votes)
176 views9 pages

Debian (Jessy Dns Server Configuration)

The document provides 8 steps to create a DNS server with Debian Jessie 8.5. It involves installing Bind9, editing configuration files like resolv.conf to point to the local DNS server, creating zone files for forward and reverse lookups using example domains and IP addresses, configuring Bind as the primary DNS master for the zones, restarting Bind and testing the DNS server setup.
Copyright
© © All Rights Reserved
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)
176 views9 pages

Debian (Jessy Dns Server Configuration)

The document provides 8 steps to create a DNS server with Debian Jessie 8.5. It involves installing Bind9, editing configuration files like resolv.conf to point to the local DNS server, creating zone files for forward and reverse lookups using example domains and IP addresses, configuring Bind as the primary DNS master for the zones, restarting Bind and testing the DNS server setup.
Copyright
© © All Rights Reserved
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/ 9

Lincaro, Alyzza Manile M. Lincaro & Naguita, Jeaza Jean D.

BSIT-3R2

~CREATING DNS SERVER WITH DEBIAN JESSIE 8.5~


Step 1: After startup of Debian Jessie 8.5, go to terminal
Click Activities, type in the search box terminal, the open it.
Login to root and input password in order to have the privelege of installing the
Bind9 package.

Step 2: Install Bind9 package Internet connection is required.

apt-get install bind9 dnsutils

Step 3: Edit resolv.conf file.

vi /etc/resolv.conf

Append the IP address(es) and domain name for your own DNS Server then save.

Step 4: Restart networking.

/etc/init.d/networking restart

Step 5: Create the zone files for your DNS.

Copy forward lookup zone file configuration example and change the contents
with our own data.

Open and edit the copied file.

~Before editing, the file looks like this:

After editing, the file looks like this take for example: lina.com as domain and
192.168.0.25 as IP address and then save:

Copy reverse lookup zone file configuration example and change the contents with
our own data.

Open and edit the copied file.

~ Before editing, the file looks like this:

After editing, the file looks like this with same examples used above:

Step 6: Configure Bind as the primary DNS master for the zone.
Open and edit the file.

~Before editing, the file looks like this

After editing, the file looks like this with same examples
used:

Step 7: Restart BIND.


/etc/init.d/bind9/restart

Configure network interfaces.

Append the following contents.

Step 8: Test DNS Server.

dig www.lina.com

nslookup www.lina.com

host 192.168.0.25

~~~END~~~

You might also like