E Pathshala 4
E Pathshala 4
1
MODULE 4 : UNDERSTANDING THE INTERNET
Description of Module
Subject Name Criminology
Paper Name Cyber Criminology and Cyber Forensics
Module No. 4
Module Name/Title Understanding the Internet
Pre-requisites Basic understanding of the computer networks,
internet, IP addresses, servers and web
distribution
Objectives To understand how the domain name system
works.
To explore website creation and database driven
websites.
To gain an overview of the World Wide Web.
Keywords DNS, Email, WWW, Website creation, Dynamic
websites, Database driven sites, HTML, HTTP.
2
Table of Contents
1. Introduction
2. Working Principle of Domain Name System
3. Basics of Email
4. Concepts of World Wide Web (WWW)
5. Website Creation
6. Database driven websites
7. Summary and Conclusion
Learning Outcomes
After completing this module, you will be able:
1. To understand how the domain name system works.
2. To explore the concept of Email.
3. To get an overview of the World Wide Web.
4. To understand the concepts of Website creation and Database Driven websites.
3
Understanding the Internet
1. Introduction
The internet is a multifaceted and diversified network. The whole essence of the
internet system is varied and large. The use of internet has also grown increasingly diversified
over the past years. Today, the internet is much more complex because of the technological
advancement. The internet landscape has also changed with the development of the chat
programs, social media, virtual environments and personal profiles. Understanding the
internet as a medium-both as a media and communication system-will help us gain a better
insight into the complex and widespread culture of the whole online environment.
4
The design principle of DNS is as follows:
1. The naming system is hierarchical and logical based which is called the domain
namespace. The hierarchy can be represented by a tree. They are administered by an
Internet central name registration authority (ICANN). The administration of
namespace is delegated to organizations. The hierarchical namespace is done by a
hierarchy of name servers. Each server is responsible for a contiguous portion of the
DNS namespace called zone.
2. Names of hosts can be assigned without a location of the IP network.
3. The allocation of domain name follows the allocation of IP addresses, as for example
the domain name www.example.com have network prefix 198.105.232.4.
4. The node in the DNS tree represents a DNS name. Every node in the DNS domain
tree can be identified by a Fully Qualified Domain Name (FQDN). The FQDN
consists of labels such as “edu” and a period such as “.”, characters and numerals.
FQDNs are not case-sensitive.
5. The three types of top-level domain are organizational which consists of 3 character
codes as for example gov, edu, org, and com, net. The second type is geographical
which consists of 2 character country or region code such as us, va, jp, de. The third
type is called the reverse domain which is a special domain used for IP addresses-to-
name mapping. The top level organizational domains are
com for commercial organizations
edu for educational institutions
gov for government institutions
int for international organizations
net for networking organizations
org for non-profit organizations
6. The DNS resolver looks up the information associated with nodes. Resolving usually
requires several name servers to find the needed information. They communicate with
name servers by sending DNS queries and heeding DNS responses.
The DNS servers cannot only encode the character names in the IP addresses but can
also reconstruct the IP address in the name of the characters. The Domain name looks into
two types of queries-recursive query which is when the name server of a host cannot resolve a
query; the server issues a query to resolve the query. The second type of query is known as
iterative query which is when the name server of a host cannot resolve a query and it sends a
referral to another server to the resolver.
5
3. Basics of Email
Email is a tool which is used by nearly every person who has an internet connection.
Email stands for electronic mail which is equivalent to being a modernized version of sending
a letter to the other side of the world within minutes. Documents and photos can be attached
to the email as well. Every person has a unique email address.
Email was developed in the late 1960s and early 1970s by the Advanced Research
Projects Agency Network (ARPANET) that was built as part of research project by the US
Department of Defence.
An email address always has an @ symbol which is pronounced as AT(at). An
example of email address is nancy@gmail.com. Here, nancy is the username which refers to a
unique name of the user. Gmail.com is the domain name of the company or organization that
provides the email service.
The receiver gets an email in his mailbox and can read and answer if required. The
message exits in the mailbox until the receiver deletes or reads it.
The advantages of an email are:
Email is a low cost person to person communication system.
6
Email is fast as the message is delivered within minutes.
Only the receiver can open the message hence privacy is maintained.
Email is easy to operate.
The storage of the email is safe and unlimited which can be accessed anytime and
from anywhere.
7
There are two kinds of processes that the Web works upon- Browsers which gives the
user the required access to all Web documents and the other is Servers which handles
incoming HTTP requests by fetching the requested document and returning it to the
client.
The functions of the Web are as follows:
The World Wide Web works by establishing hypertext/hypermedia links between
documents anywhere on the network.
The web browsers are capable of interacting with different kinds of servers.
The Web has a common address scheme which makes it possible to identify what
the user wants.
The Web browsers are extensive and can handle a wide variety of resources.
CONTENT
SEARCH ENGINE
BROWSERS
COMPUTER
Source: https://upload.wikimedia.org/wikipedia/commons/thumb/3/39/Internet_Key_Layers.png/220px-
Internet_Key_Layers.png
5. Website Creation
Website creation consists of a collection of HTML document files. Websites can be
created as a simple informational website or two-way sites that allow visitors to interact.
Websites are read with a program called the Web browser as for example, Internet explorer,
Firefox, Safari or Google Chrome. The only type of documents that these web browsers can
display is HTML files. The web browser makes sure that other people’s computers can
connect to the document and request a copy of the page and display it. The web server
program helps save the webpage when connected over the internet.
Creating a website involves the following steps:
8
Registering a domain name is the first step towards creating a website. For example,
domain names can be www.thefabnews.com.
The second step is to create a few pages using HTML and subsequently use database
techniques such as PHP. PHP stands for PHP Hypertext Processor which is the
mostly widely used server-side language in the web world. The PHP program is a
word file. These files tend to end with .php.
In order to store the content of the website to a web server, a program called the
HTML editor which saves the finished document in HTML format.
In order to upload the content of the HTML files across the internet to the web server,
the method of FTP (File Transfer Protocol) is used.
Three important things to consider before creating a website:
What type of site one is creating as for example if it is an informational site or an
entertainment site.
Why the site is created?
Who the site is for? The target audience should be clear in mind before a website
creation.
These three things matter because the layout of the page depends on those. The menu
on the website should be clear and concise so that the visitors do not have difficulty finding
any information. The choices in the menu should also be obvious and mutually exclusive. The
website should also be easily accessible.
9
format which is showed on the site as HTML files. These websites are user-friendly which led
you to add, edit or delete any information or create new ones.
Examples of database driven websites are e-commerce sites because these sites need
to keep the prices and offers of their services up to date. Another example includes blogs and
online community forums which needs regular updates by users.
Some of the advantages of database driven websites are as follows:
It is suitable for e-commerce sites and online retailers where information needs to be
updated frequently.
It is easier and faster to update information and content through these websites.
Changing the content does not need specialized expertise or knowledge in HTML
programming.
It has reduced error rate as data entry employees might make mistakes and rectifying
such issues on data base driven websites are easier and more efficient.
Changing layout, trends and patterns is also extensive and can be done anytime on
these websites.
10
place which has been evolving till date. It is by far the most used application in the world.
With the Web, came in the development of website creation and database driven sites which
helps a user to open up a personalized website. The widespread network of the internet has
had a tremendous impact on the lives of people and the way they study, communicate and
make businesses with each other.
References
Johnson, T. (1994). Spinning the World Wide Web. Stanford University: Diane Publishing.
Lloyd, I. (2009). Build your own website using HTML and CSS (2nd ed.). Publisher Site
Point.
Albitz, P., & Cricket, L. (2006). DNS and BIND (5th ed.). California, CA: O’Reily Media.
11