main
-
Upload
omar-faruk-sazib -
Category
Documents
-
view
30 -
download
1
Transcript of main
![Page 1: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/1.jpg)
WELCOME TO OUR PRESENTATION
![Page 2: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/2.jpg)
PRESENTATION ON
DNS,SMTP & POP3
![Page 3: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/3.jpg)
WE ARE:
MD. SHAHJADA(CE-12026)MD. MAHBUBUR RAHMAN(CE-12038)OMIT PAL(CE-12045)MD. OMAR FARUK SAZIB(CE-12047)
![Page 4: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/4.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/8.jpg)
To determine the local hostname:Open command prompt.
![Page 9: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/9.jpg)
![Page 10: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/10.jpg)
To ping the local host name(name of this PC):
![Page 11: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/11.jpg)
To ping the host name(name of other PC).when the other PC is not connected to the LAN.
![Page 12: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/12.jpg)
LAN configuration: open network and sharing center.
![Page 13: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/13.jpg)
![Page 14: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/14.jpg)
![Page 15: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/15.jpg)
![Page 16: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/16.jpg)
To ping the host name(name of other PC).when the other PC is connected to the LAN.
![Page 17: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/17.jpg)
To add an entry to the host file.the location of host file:
![Page 18: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/18.jpg)
For edit host file:
![Page 19: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/19.jpg)
![Page 20: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/20.jpg)
![Page 21: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/21.jpg)
![Page 22: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/22.jpg)
![Page 23: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/23.jpg)
Now I am going to discuss about :
• TCP/IP configuration.• DHCP• Access lookup table.• DNS server test.
![Page 24: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/24.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/25.jpg)
Configuring TCP/IP manually :> Open command prompt -> then wright “ ipconfig/all ”
![Page 26: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/26.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/27.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/28.jpg)
Configuring TCP/IP manually :>
![Page 29: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/29.jpg)
Configuring TCP/IP
In the Windows Control Panel, under "Network and Internet“ , select "View network status and tasks“ :>
![Page 30: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/30.jpg)
Click "Change adapter settings“ :>
![Page 31: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/31.jpg)
Right-click your Internet connection's icon and select "Properties“ :>
![Page 32: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/32.jpg)
Select the "Internet Protocol Version 4 (TCP/IPv4)" item, and click the "Properties" button:
![Page 33: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/33.jpg)
Select "Use the following IP addresses“ : >
![Page 34: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/34.jpg)
Insert the taken IP address and subnet mask from ipconfig :>
![Page 35: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/35.jpg)
Now we will see DHCP enabled condition in ipconfig in cmd :>
![Page 36: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/36.jpg)
We can see that :
Before-> After->
![Page 37: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/37.jpg)
Access the DNA server zone name lookup table :
• At the command prompt->
![Page 38: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/38.jpg)
Lookup table access :
• Also get the response of ?.
![Page 39: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/39.jpg)
Lookup table access :
• Thus way we can access also :o ls nwlab.eduo ls –a nwlab.eduo ls –d nwlab.edu
![Page 40: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/40.jpg)
Test the DNS server using aliase:
• We can resolved the aliases when DNS server installation and configuration is verified.
![Page 41: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/41.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/42.jpg)
Downloading Bind Go to https://www.isc.org/downloads/bind/
![Page 43: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/43.jpg)
Create a new administrative user account Go to Control panel
![Page 44: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/44.jpg)
Create a new administrative user account Go to Add or remove user accounts
![Page 45: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/45.jpg)
Create a new administrative user account Go to Create a new account
![Page 46: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/46.jpg)
Create a new administrative user account Click on Create Account
![Page 47: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/47.jpg)
Create a new administrative user account Click on new created account(named)
![Page 48: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/48.jpg)
Create a new administrative user account Click on Create a new password
![Page 49: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/49.jpg)
Create a new administrative user account Give a password re-type password and give a password hints
![Page 50: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/50.jpg)
Create a new administrative user account Finally a new administrative is created
![Page 51: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/51.jpg)
Install BIND DNS ServerUnzip the downloaded zip file
Right click on BINDInstall.exe file
Click on Run as administrator
![Page 52: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/52.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/53.jpg)
Install BIND DNS ServerBind installation Successful message
![Page 54: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/54.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/55.jpg)
Configuration of BIND DNS ServerWrite down the following code in named.conf
![Page 56: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/56.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/57.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/58.jpg)
Configuration of BIND DNS ServerControls
Type ipconfig \all
![Page 59: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/59.jpg)
Configuration of BIND DNS ServerCheck the named.conf file
![Page 60: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/60.jpg)
Configuration of BIND DNS ServerStart Bind service
![Page 61: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/61.jpg)
Configuration of BIND DNS ServerChance the Pc’s DNS server
Control panel Open Network and sharing center Change adapter setting
![Page 62: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/62.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/63.jpg)
Configuration of BIND DNS ServerCheck Zone file is working or not
1. Type nslookup nwlab.edu
![Page 64: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/64.jpg)
Configuration of BIND DNS ServerCheck forwarders is working or not
1. Type nslookup www.mbstu.ac.bd
![Page 65: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/65.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/66.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/67.jpg)
Process of installation: go to: Control Panel -> Programs -> Turn Windows features on
and off
![Page 68: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/68.jpg)
User Account Control-> click Continue-> Windows Features list-> Telnet Client-> OK
![Page 69: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/69.jpg)
![Page 70: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/70.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/71.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/72.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/73.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/74.jpg)
![Page 75: main](https://reader036.fdocuments.in/reader036/viewer/2022081604/5872cd5c1a28ab74188b45af/html5/thumbnails/75.jpg)