WELCOME TO OUR
PRESENTATION
PRESENTATION
ON
DNS,SMTP & POP3
WE ARE:
MD. SHAHJADA(CE-12026)
MD. MAHBUBUR RAHMAN(CE-12038)
OMIT PAL(CE-12045)
MD. OMAR FARUK SAZIB(CE-12047)
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.
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.
We will discuss all procedure part by
part……………
• First of all I am going to discuss about
Configuring and using host file.
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.
To determine the local hostname:
Open command prompt.
To ping the local host name(name of this PC):
To ping the host name(name of other PC).
when the other PC is not connected to the LAN.
LAN configuration: open network and sharing
center.
To ping the host name(name of other PC).
when the other PC is connected to the LAN.
To add an entry to the host file.
the location of host file:
For edit host file:
Now I am going to discuss about :
• TCP/IP configuration.
• DHCP
• Access lookup table.
• DNS server test.
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.
Configuring TCP/IP manually :>
Open command prompt -> then wright “ ipconfig/all ”
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.
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.
Configuring TCP/IP manually :>
 Configuring TCP/IP
 In the Windows Control Panel, under "Network and Internet“ , select "View
network status and tasks“ :>
 Click "Change adapter settings“ :>
 Right-click your Internet connection's icon and select "Properties“ :>
 Select the "Internet Protocol Version 4 (TCP/IPv4)" item, and click the
"Properties" button:
 Select "Use the following IP addresses“ : >
 Insert the taken IP address and subnet mask from ipconfig :>
 Now we will see DHCP enabled condition in ipconfig in cmd :>
We can see that :
Before-> After->
Access the DNA server zone name
lookup table :
• At the command prompt->
Lookup table access :
• Also get the response of ?.
Lookup table access :
• Thus way we can access also :
o ls nwlab.edu
o ls –a nwlab.edu
o ls –d nwlab.edu
Test the DNS server using aliase:
• We can resolved the aliases when DNS server
installation and configuration is verified.
Install and Configure DNS Server
I am going to discuss about :
 Download BIND
 Create a new administrative account
 Install Bind DNS Server
 Configuration of BIND DNS Server
Downloading Bind
Go to https://www.isc.org/downloads/bind/
Create a new administrative user account
Go to Control panel
Create a new administrative user account
Go to Add or remove user accounts
Create a new administrative user account
Go to Create a new account
Create a new administrative user account
Click on Create Account
Create a new administrative user account
Click on new created account(named)
Create a new administrative user account
Click on Create a new password
Create a new administrative user account
Give a password re-type password and give a password hints
Create a new administrative user account
Finally a new administrative is created
Install BIND DNS Server
Unzip the downloaded zip file
Right click on BINDInstall.exe file
Click on Run as administrator
Install BIND DNS Server
Choose 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
Install BIND DNS Server
Bind installation Successful message
Configuration of BIND DNS Server
First go to the directory where we installed bind(C:Program Filesdns)
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
Configuration of BIND DNS Server
Write down the following code in named.conf
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 Filesdnsetcmasterdb
Configuration of BIND DNS Server
To generate rndc.key open the cmd as administrator and type the following command
Copy the code to named.conf file
Configuration of BIND DNS Server
Controls
Type ipconfig all
Configuration of BIND DNS Server
Check the named.conf file
Configuration of BIND DNS Server
Start Bind service
Configuration of BIND DNS Server
Chance the Pc’s DNS server
Control panel Open Network and sharing center Change adapter setting
Configuration of BIND DNS Server
Check DNS Server is Configured successfully or not
1. Start the configured DNS server
2. Find port “953”
We can check another port by this command
Configuration of BIND DNS Server
Check Zone file is working or not
1. Type nslookup nwlab.edu
Configuration of BIND DNS Server
Check forwarders is working or not
1. Type nslookup www.mbstu.ac.bd
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.
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.
Process of installation:
go to: Control Panel -> Programs ->
Turn Windows features on and off
User Account Control-> click Continue-
> Windows Features list-> Telnet Client-
> OK
Using Telnet on Windows with CMD:
1.Open a Command Prompt Window
2. Type "cmd" into the Search option
3.telnet stargate.terrassl.net 25
To check ping server:
1.Open a Command Prompt Window
2. Type "cmd" into the Search option
3. ping stargate.terrassl.net 25 the
How to sending message with command
prompt (cmd):
1. First open Notepad
2. Writing the following code
3. Then save as "Messenger.bat"
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
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.
main
main

main

  • 1.
  • 2.
  • 3.
    WE ARE: MD. SHAHJADA(CE-12026) MD.MAHBUBUR RAHMAN(CE-12038) OMIT PAL(CE-12045) MD. OMAR FARUK SAZIB(CE-12047)
  • 4.
    Objective: 1. Determine thelocal 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.
  • 5.
    REQUIREMENTS: 1. Personal computerwith 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.
  • 6.
    We will discussall procedure part by part…………… • First of all I am going to discuss about Configuring and using host file.
  • 7.
    What is hostsfile? 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.
  • 8.
    To determine thelocal hostname: Open command prompt.
  • 10.
    To ping thelocal host name(name of this PC):
  • 11.
    To ping thehost name(name of other PC). when the other PC is not connected to the LAN.
  • 12.
    LAN configuration: opennetwork and sharing center.
  • 16.
    To ping thehost name(name of other PC). when the other PC is connected to the LAN.
  • 17.
    To add anentry to the host file. the location of host file:
  • 18.
  • 23.
    Now I amgoing to discuss about : • TCP/IP configuration. • DHCP • Access lookup table. • DNS server test.
  • 24.
    Configuring a DNSclient 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.
  • 25.
    Configuring TCP/IP manually:> Open command prompt -> then wright “ ipconfig/all ”
  • 26.
    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.
  • 27.
    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.
  • 28.
  • 29.
     Configuring TCP/IP In the Windows Control Panel, under "Network and Internet“ , select "View network status and tasks“ :>
  • 30.
     Click "Changeadapter settings“ :>
  • 31.
     Right-click yourInternet connection's icon and select "Properties“ :>
  • 32.
     Select the"Internet Protocol Version 4 (TCP/IPv4)" item, and click the "Properties" button:
  • 33.
     Select "Usethe following IP addresses“ : >
  • 34.
     Insert thetaken IP address and subnet mask from ipconfig :>
  • 35.
     Now wewill see DHCP enabled condition in ipconfig in cmd :>
  • 36.
    We can seethat : Before-> After->
  • 37.
    Access the DNAserver zone name lookup table : • At the command prompt->
  • 38.
    Lookup table access: • Also get the response of ?.
  • 39.
    Lookup table access: • Thus way we can access also : o ls nwlab.edu o ls –a nwlab.edu o ls –d nwlab.edu
  • 40.
    Test the DNSserver using aliase: • We can resolved the aliases when DNS server installation and configuration is verified.
  • 41.
    Install and ConfigureDNS Server I am going to discuss about :  Download BIND  Create a new administrative account  Install Bind DNS Server  Configuration of BIND DNS Server
  • 42.
    Downloading Bind Go tohttps://www.isc.org/downloads/bind/
  • 43.
    Create a newadministrative user account Go to Control panel
  • 44.
    Create a newadministrative user account Go to Add or remove user accounts
  • 45.
    Create a newadministrative user account Go to Create a new account
  • 46.
    Create a newadministrative user account Click on Create Account
  • 47.
    Create a newadministrative user account Click on new created account(named)
  • 48.
    Create a newadministrative user account Click on Create a new password
  • 49.
    Create a newadministrative user account Give a password re-type password and give a password hints
  • 50.
    Create a newadministrative user account Finally a new administrative is created
  • 51.
    Install BIND DNSServer Unzip the downloaded zip file Right click on BINDInstall.exe file Click on Run as administrator
  • 52.
    Install BIND DNSServer Choose 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
  • 53.
    Install BIND DNSServer Bind installation Successful message
  • 54.
    Configuration of BINDDNS Server First go to the directory where we installed bind(C:Program Filesdns) 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
  • 55.
    Configuration of BINDDNS Server Write down the following code in named.conf
  • 56.
    Configuration of BINDDNS Server Write down the following code in db.nwlab.edu Create a new file named db.nwlab.edu in C:Program Filesdnsetcmasterdb
  • 57.
    Configuration of BINDDNS Server To generate rndc.key open the cmd as administrator and type the following command Copy the code to named.conf file
  • 58.
    Configuration of BINDDNS Server Controls Type ipconfig all
  • 59.
    Configuration of BINDDNS Server Check the named.conf file
  • 60.
    Configuration of BINDDNS Server Start Bind service
  • 61.
    Configuration of BINDDNS Server Chance the Pc’s DNS server Control panel Open Network and sharing center Change adapter setting
  • 62.
    Configuration of BINDDNS Server Check DNS Server is Configured successfully or not 1. Start the configured DNS server 2. Find port “953” We can check another port by this command
  • 63.
    Configuration of BINDDNS Server Check Zone file is working or not 1. Type nslookup nwlab.edu
  • 64.
    Configuration of BINDDNS Server Check forwarders is working or not 1. Type nslookup www.mbstu.ac.bd
  • 65.
    Finally, I amgoing to show the procedure of sending message. • We use SMTP and POP for sending and receiving message. • Telnet protocol for active port.
  • 66.
    Telnet set up: Telnetis 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.
  • 67.
    Process of installation: goto: Control Panel -> Programs -> Turn Windows features on and off
  • 68.
    User Account Control->click Continue- > Windows Features list-> Telnet Client- > OK
  • 70.
    Using Telnet onWindows with CMD: 1.Open a Command Prompt Window 2. Type "cmd" into the Search option 3.telnet stargate.terrassl.net 25
  • 71.
    To check pingserver: 1.Open a Command Prompt Window 2. Type "cmd" into the Search option 3. ping stargate.terrassl.net 25 the
  • 72.
    How to sendingmessage with command prompt (cmd): 1. First open Notepad 2. Writing the following code 3. Then save as "Messenger.bat" @echo off :A Cls echo MESSENGER set /p n=User: set /p m=Message: net send %n% %m% Pause Goto A
  • 73.
    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.