main

75
WELCOME TO OUR PRESENTATION

Transcript of main

Page 1: main

WELCOME TO OUR PRESENTATION

Page 2: main

PRESENTATION ON

DNS,SMTP & POP3

Page 3: main

WE ARE:

MD. SHAHJADA(CE-12026)MD. MAHBUBUR RAHMAN(CE-12038)OMIT PAL(CE-12045)MD. OMAR FARUK SAZIB(CE-12047)

Page 4: main

Objective:1. Determine the local host address.2. Ping to a host name.3. Add IP addresses/using host name mapping to the host file.4. Configure DNS service on windows 7 (Bind DNS server).5. Use domain name service(DNS) to resolve hostnames into IP

addresses.6. Interact with an Email server using SMTP and POP3 protocols

commands.

Page 5: main

REQUIREMENTS:1. Personal computer with Network Interface Cards connected through

category 5 UTP cables.2. Windows 7 Network Operating System installed in each computer.3. TCP/IP protocol installed in each computer.4. Each computer should have an IP address 196.15.60.x where x is the

computer’s number.5. Switches to connect all peer computers.6. The lab server Bind Server (192.168.1.100) is configured as DNS server for

the domain name nwlab.edu with plenty of records.7. Email server installed on Bind Server (192.168.1.100).8. Mailboxes should be created on the Email server.

Page 6: main

We will discuss all procedure part by part……………

• First of all I am going to discuss about Configuring and using host file.

Page 7: main

What is hosts file?

The hosts file is a computer file used by an operating system to map hostnames to IP addresses. The hosts file is a plain text file, and is conventionally named hosts.

Page 8: main

To determine the local hostname:Open command prompt.

Page 9: main
Page 10: main

To ping the local host name(name of this PC):

Page 11: main

To ping the host name(name of other PC).when the other PC is not connected to the LAN.

Page 12: main

LAN configuration: open network and sharing center.

Page 13: main
Page 14: main
Page 15: main
Page 16: main

To ping the host name(name of other PC).when the other PC is connected to the LAN.

Page 17: main

To add an entry to the host file.the location of host file:

Page 18: main

For edit host file:

Page 19: main
Page 20: main
Page 21: main
Page 22: main
Page 23: main

Now I am going to discuss about :

• TCP/IP configuration.• DHCP• Access lookup table.• DNS server test.

Page 24: main

Configuring a DNS client for hostname/IP resolution.

To ensure that the DNS server is correctly installed and configured in server machine, we should configure our own pc as its DNS client.

Page 25: main

Configuring TCP/IP manually :> Open command prompt -> then wright “ ipconfig/all ”

Page 26: main

What is DHCP ?

• Dynamic Host Configuration Protocol (DHCP) is a client/server protocol

• DHCP provides an Internet Protocol (IP) host with its IP address and other related.

• Also provides configuration information such as the subnet mask and default gateway.

Page 27: main

Why DHCP enabled/disabled ?

• Reliable IP address configuration.• Reduced network administration.

o Centralized and automated TCP/IP configuration.o The ability to define TCP/IP configurations

from a central location.o The ability to assign a full range of additional

TCP/IP configuration values by means of DHCP options.

Page 28: main

Configuring TCP/IP manually :>

Page 29: main

Configuring TCP/IP

In the Windows Control Panel, under "Network and Internet“ , select "View network status and tasks“ :>

Page 30: main

Click "Change adapter settings“ :>

Page 31: main

Right-click your Internet connection's icon and select "Properties“ :>

Page 32: main

Select the "Internet Protocol Version 4 (TCP/IPv4)" item, and click the "Properties" button:

Page 33: main

Select "Use the following IP addresses“ : >

Page 34: main

Insert the taken IP address and subnet mask from ipconfig :>

Page 35: main

Now we will see DHCP enabled condition in ipconfig in cmd :>

Page 36: main

We can see that :

Before-> After->

Page 37: main

Access the DNA server zone name lookup table :

• At the command prompt->

Page 38: main

Lookup table access :

• Also get the response of ?.

Page 39: main

Lookup table access :

• Thus way we can access also :o ls nwlab.eduo ls –a nwlab.eduo ls –d nwlab.edu

Page 40: main

Test the DNS server using aliase:

• We can resolved the aliases when DNS server installation and configuration is verified.

Page 41: main

Install and Configure DNS ServerI am going to discuss about :

Download BIND Create a new administrative account Install Bind DNS Server Configuration of BIND DNS Server

Page 42: main

Downloading Bind Go to https://www.isc.org/downloads/bind/

Page 43: main

Create a new administrative user account Go to Control panel

Page 44: main

Create a new administrative user account Go to Add or remove user accounts

Page 45: main

Create a new administrative user account Go to Create a new account

Page 46: main

Create a new administrative user account Click on Create Account

Page 47: main

Create a new administrative user account Click on new created account(named)

Page 48: main

Create a new administrative user account Click on Create a new password

Page 49: main

Create a new administrative user account Give a password re-type password and give a password hints

Page 50: main

Create a new administrative user account Finally a new administrative is created

Page 51: main

Install BIND DNS ServerUnzip the downloaded zip file

Right click on BINDInstall.exe file

Click on Run as administrator

Page 52: main

Install BIND DNS ServerChoose a directory where we have to install Bind

Give a service name(new created administrative user account name)

Give a password(user account password)

Make sure Automatic Startup is checked

Then click on install

Page 53: main

Install BIND DNS ServerBind installation Successful message

Page 54: main

Configuration of BIND DNS ServerFirst go to the directory where we installed bind(C:\Program Files\dns)We have two folder named bin and etc

Go to etc and create a configuration file called named.conf

To create named.conf file first right click on blank space of etc folder

New New text document Change the file name as named.conf

Open the named.conf with any text editor

Page 55: main

Configuration of BIND DNS ServerWrite down the following code in named.conf

Page 56: main

Configuration of BIND DNS Server

Write down the following code in db.nwlab.edu

Create a new file named db.nwlab.edu in C:\Program Files\dns\etc\master\db

Page 57: main

Configuration of BIND DNS ServerTo generate rndc.key open the cmd as administrator and type the following command

Copy the code to named.conf file

Page 58: main

Configuration of BIND DNS ServerControls

Type ipconfig \all

Page 59: main

Configuration of BIND DNS ServerCheck the named.conf file

Page 60: main

Configuration of BIND DNS ServerStart Bind service

Page 61: main

Configuration of BIND DNS ServerChance the Pc’s DNS server

Control panel Open Network and sharing center Change adapter setting

Page 62: main

Configuration of BIND DNS ServerCheck DNS Server is Configured successfully or not

1. Start the configured DNS server2. Find port “953”

We can check another port by this command

Page 63: main

Configuration of BIND DNS ServerCheck Zone file is working or not

1. Type nslookup nwlab.edu

Page 64: main

Configuration of BIND DNS ServerCheck forwarders is working or not

1. Type nslookup www.mbstu.ac.bd

Page 65: main

Finally, I am going to show the procedure of sending message.

• We use SMTP and POP for sending and receiving message.

• Telnet protocol for active port.

Page 66: main

Telnet set up:

Telnet is a protocol that enables you to connect to remote computers and local computers over a TCP/IP network, over TCP port 23. By default, Telnet is disabled in recent Windows environments.

Page 67: main

Process of installation: go to: Control Panel -> Programs -> Turn Windows features on

and off

Page 68: main

User Account Control-> click Continue-> Windows Features list-> Telnet Client-> OK

Page 69: main
Page 70: main

Using Telnet on Windows with CMD:1.Open a Command Prompt Window2. Type "cmd" into the Search option

3.telnet stargate.terrassl.net 25

Page 71: main

To check ping server: 1.Open a Command Prompt Window2. Type "cmd" into the Search option

3. ping stargate.terrassl.net 25 the

Page 72: main

How to sending message with command prompt (cmd):

1. First open Notepad2. Writing the following code 3. Then save as "Messenger.bat" @echo off:AClsecho MESSENGERset /p n=User:set /p m=Message:net send %n% %m%PauseGoto A

Page 73: main

open the file, Messenger, it will open the command prompt and show the

following text:Messenger

User:

Then write the IP of the person I am trying to reach.

Page 74: main
Page 75: main