SlideShare uma empresa Scribd logo
1 de 26
Hello!
My name is Roman
In today’s presentation I will be going over the
different concepts that make up DNS and HTTP.
DNS or Domain Name System
• A globally distributed, scalable, reliable database made up of large networks of interconnected
computers.
• One of the most important parts of the internet.
• Most basic form: translated webiste names into 10101100s
• Make networks human friendly
• No Internet without DNS
• Comprised of three components
• A “name space”
• Servers making that name space available
• Resolvers (clients) which query the servers about the name space
Primary Server:
-holds the master copy of the data for a zone,
-notifies secondary server of changes –notify request
-responds to queries from Secondary Servers
Secondary Server:
-have copies of the primary DNS data synchronized through zone tranfers
-when prompted, or at intervals query Primary Servers for DNS record changes (redundancy)
-any changes done to Primary Server is copied through zone transfers
com net au info biz
com net
org
org
Other
ccTLDs
id
internal prosrs
google yahoo theagemicrosoftausregistry
“root” zone
TLDs & ccTLDs
2LD
3LD
4LD
DNS Resolution
The process of website name’s name into an IP address, or vice versa.
Root server is asked about the domain name that needs to be resolved. If the server doesn’t
know it will contact another name server until it finds the authoritative server resposible for the
domain. Authoritative server responds with a cachable info for browser to process.
DNS Delegation
Process of distibuting the namespace into more zones. Used traffic distribution; DNS
performanance resolution; fault tolerance; adding new branches, locations;
DNS server make up:
Client Server
pc
Recursive
Servers
DNS info from
resolvers; queries
multiple servers
Root Server
Top level domain
hierarchy; contacts
others;
Authoritative Servers
Server in charge of a given zone; has
domain registration records;
DNS Delegation
Process of distributing the namespace into more zones. Used traffic
distribution; DNS performanance resolution; fault tolerance; adding new
branches, locations;
Forward & Reverse DNS resolutions
Name into IP = Forward Resolution
IP into Name = Reverse Resolution
DNS record – single entry that gives the ZONE instructions
DNS Record consists of:
Record name
Record value
Time to live (TTL)
DNS Zone
A container of all the DNS records for a specific domain.
Example: visit.krakow.com
www.visit.krakow.com
blog.visit.krakow.com DNS records that make up DNS ZONE
mail.visit.krakow.com
Blank Name
Record that has nothing in the name slot.
Ex. Visitkrakow.com vs www.visitkrakow.com
No data for record type has www as it’s record name
A Record
• Used to point a domain or a subdomain to an IP address.
• Point one domain to multiple IP addresses (redundancy/load balancing/performnce)
C NAME (Canonical Name )
• DNS entry used to point a host name to a host name
• Allows changes to the IP address of a server, or cluster of servers without making DNS changes
• Docs.example.com and documents.example.com acess the same files
MX Records (Mail Exchange)
• Used to route email according to owner’s preferences
• Allows you to specify multiple mail servers to be used
documents.example.com to docs.example.com
documents.example.com to docs.example.com
SPF Records (Sender Policy Framework)
• Open standard created to prevent Address forgery
• Current versions SPFv1/SPF Classic protect sender
• Domain owner publishes SPF info in domain’s DNS Zone
• Receiving server can check if the message complies with the domain’s stated policy. If the message comes
from an inkown sender it will be considered fake, and discarded.
• The receiving server needs to keep of SPF information.
• NS (name server)
• Name Server (NS) records identify the name servers that are authoritative for
the DNS zone.
• TTL (Time to LIve)
• Total value in seconds how the DNS record will be cached before it needs to be refreshed. A queried
Name Server will check TTL to see how ling before it has to refresh, and if the DNS record was delivered
on time.
Record Value
The data that tells DNS record where you want it to point.
Uniform Resource Locator (URL)
A URL is the web address of a resource on the Internet. This is the address you type in a browser to visit a particular web site.
For example www.visitkrakow.com
.
HTTP
Hypertransfer Text & Protocol
Communication protocol used to send data from one program to another over the Internet. Most significatnt
protocol on the internet.
port80
HTTP communication between a client
and a server.
• Server listens
• Server accepts and records request
• Server can continue to accept other requests
• Server writes responses of requests
• Server ends response
• Business Applications
• Database Server
Client connects
Web Application Components
Web Browser: presents the user interface
Web Server: processes HTTP requests
Business Application: processes requests at the application level by providing a service
Database Server: maintains the database by processing query and update requests from the application
HTTP is the language that web clients and web servers use to talk to each other
HTTP is largely “under the hood,” but a basic understanding can be helpful.
Web Browser Responsibilities
• User Interface Presentation
• Client-Server Communication (HTTP)
• Cache Control
• Cookie Management
• Handling Embedded Objects
• Script Interpretation
• User Interface Presentation
• Parse HTML and CSS code
• handle errors
• Format and present a graphical display
• Handle user interactions
• scroll, mouse movement, click, etc.
The Client sends a message to the Server at a particular port (80 is the default)
The first part of the message is the request line, containing:
A method (HTTP command) such as GET or POST
A document address, and
An HTTP version number
Example:
GET /index.html HTTP/1.0
When a user submits a browser request to a web server, it
sends two categories of data:
Form Data: Data that the user explicitly typed into an HTML form.
For example: registration information.
HTTP Request Header Data: Data that is automatically appended
to the HTTP Request from the client.
For example: cookies, browser type, etc,
Other methods beside GET and POST are:
HEAD: Like GET, but ask that only a header be returned
PUT: Request to store the entity-body at the URI
DELETE: Request removal of data at the URI
LINK: Request header information be associated with a document on the server
UNLINK: Request to undo a LINK request
OPTIONS: Request information about communications options on the server
TRACE: Request that the entity-body be returned as received (used for debugging)
The second part of a request is optional header information, such as:
What the client software is
What formats it can accept
All information is in the form Name: Value
Example:
User-Agent: Mozilla/2.02Gold (WinNT; I)
Accept: image/gif, image/jpeg, */*
A blank line ends the header
Accept: type/subtype, type/subtype, ...
Specifies media types that the client prefers to accept
Accept-Language: en, fr, de
Preferred language (For example: English, French, German)
User-Agent: string
The browser or other client program sending the request
From: dave@acm.org
Email address of user of client program
Cookie: name=value
Information about a cookie for that URL
Multiple cookies can be separated by commas
In this example, the client wants to send data to the server. We
use the POST method. The request line shows the method
(POST), URL, and HTTP version (1.1). There are four lines of
headers. The request body contains the input information. The
response message contains the status line and four lines of
headers. The created document, which is a CGI document, is
included as the body.
Response headers:
Server: NCSA/1.3
Name and version of the server
Content-Type: type/subtype
Should be of a type and subtype specified by the client’s Accept header
Set-Cookie: name=value; options
Requests the client to store a cookie with the given name and value
http-equiv and content typically have the same kinds of values as in the HTTP header
This tag asks the client to pretend that the information actually occurred in the header
The information is not really in the header
This tag is available because you have little direct control over what is in the header (unless you write your own
server)
As usual, not all browsers handle this information the same way
Example:
<meta http-equiv="Set-Cookie"
content="value=n;expires=date; path=url
Summary
▹ HTTP is a fairly straightforward protocol with a lot of possible kinds of predefined header
information
▸ More kinds can be added, so long as client and server agree
▹ A request from the client consists of three parts:
1. A header line
2. A block of header information, ending with a blank line
3. The (optional) entity body, containing data
▹ A response from the server consists of the same three parts
▹ HTTP headers are “under the hood” information, not normally displayed to the user
Thanks!
Any Questions?
@romanwlodarski
romanwlodarski@gmail.com

Mais conteúdo relacionado

Mais procurados

RFC and internet standards presentation
RFC and internet standards presentationRFC and internet standards presentation
RFC and internet standards presentationNaveen Jakhar, I.T.S
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
Active directory domain service
Active directory domain serviceActive directory domain service
Active directory domain serviceFestus Oriaku
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionShubham Khedekar
 
uniform resource locator
uniform resource locatoruniform resource locator
uniform resource locatorrajshreemuthiah
 
Web browser architecture.87 to 88
Web browser architecture.87 to 88Web browser architecture.87 to 88
Web browser architecture.87 to 88myrajendra
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Raj vardhan
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)Amit Nirala
 
HTML Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tagsHimanshu Pathak
 

Mais procurados (20)

RFC and internet standards presentation
RFC and internet standards presentationRFC and internet standards presentation
RFC and internet standards presentation
 
Domain name system
Domain name systemDomain name system
Domain name system
 
IP Address
IP AddressIP Address
IP Address
 
Active directory domain service
Active directory domain serviceActive directory domain service
Active directory domain service
 
TCP/IP
TCP/IPTCP/IP
TCP/IP
 
TCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer DescriptionTCP/IP Protocols With All Layer Description
TCP/IP Protocols With All Layer Description
 
Css
CssCss
Css
 
Inheritance in OOPS
Inheritance in OOPSInheritance in OOPS
Inheritance in OOPS
 
Introduction to HTTP
Introduction to HTTPIntroduction to HTTP
Introduction to HTTP
 
Tcp/ip model
Tcp/ip  modelTcp/ip  model
Tcp/ip model
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 
uniform resource locator
uniform resource locatoruniform resource locator
uniform resource locator
 
Web browser architecture.87 to 88
Web browser architecture.87 to 88Web browser architecture.87 to 88
Web browser architecture.87 to 88
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)What is Server? (Web Server vs Application Server)
What is Server? (Web Server vs Application Server)
 
Osi model
Osi modelOsi model
Osi model
 
HTML Text formatting tags
HTML Text formatting tagsHTML Text formatting tags
HTML Text formatting tags
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 

Destaque

Igor Cernopolc - Http authentication in automated testing - presentation
Igor Cernopolc - Http authentication in automated testing - presentationIgor Cernopolc - Http authentication in automated testing - presentation
Igor Cernopolc - Http authentication in automated testing - presentationCodecamp Romania
 
HTML & JavaScript Introduction
HTML & JavaScript IntroductionHTML & JavaScript Introduction
HTML & JavaScript IntroductionAlexe Bogdan
 
Web 2.0 Introduction
Web 2.0 IntroductionWeb 2.0 Introduction
Web 2.0 IntroductionSteven Tuck
 
Fundamentos técnicos de internet
Fundamentos técnicos de internetFundamentos técnicos de internet
Fundamentos técnicos de internetDavid Cava
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & cssPredhin Sapru
 
An introduction to Web 2.0: The User Role
An introduction to Web 2.0: The User RoleAn introduction to Web 2.0: The User Role
An introduction to Web 2.0: The User RoleKiko Llaneras
 
Introduction to Web 2.0
Introduction to Web 2.0Introduction to Web 2.0
Introduction to Web 2.0Jane Hart
 
Dns introduction
Dns   introduction Dns   introduction
Dns introduction sunil kumar
 
Web of Science: REST or SOAP?
Web of Science: REST or SOAP?Web of Science: REST or SOAP?
Web of Science: REST or SOAP?Duncan Hull
 
Kanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar_SrTestingAnalystKanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar_SrTestingAnalystKanchan Ghangrekar
 
Software Deployment Principles & Practices
Software Deployment Principles & PracticesSoftware Deployment Principles & Practices
Software Deployment Principles & PracticesThyagarajan Krishnan
 
Web Application Development
Web Application DevelopmentWeb Application Development
Web Application DevelopmentWhytespace Ltd.
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni InturiSreeni I
 
Architecture of the Web browser
Architecture of the Web browserArchitecture of the Web browser
Architecture of the Web browserSabin Buraga
 

Destaque (20)

Igor Cernopolc - Http authentication in automated testing - presentation
Igor Cernopolc - Http authentication in automated testing - presentationIgor Cernopolc - Http authentication in automated testing - presentation
Igor Cernopolc - Http authentication in automated testing - presentation
 
Putting SOAP to REST
Putting SOAP to RESTPutting SOAP to REST
Putting SOAP to REST
 
HTML & JavaScript Introduction
HTML & JavaScript IntroductionHTML & JavaScript Introduction
HTML & JavaScript Introduction
 
Fundamentos técnicos de internet
Fundamentos técnicos de internetFundamentos técnicos de internet
Fundamentos técnicos de internet
 
Web 2.0 Introduction
Web 2.0 IntroductionWeb 2.0 Introduction
Web 2.0 Introduction
 
Fundamentos técnicos de internet
Fundamentos técnicos de internetFundamentos técnicos de internet
Fundamentos técnicos de internet
 
Fundamentos técnicos de internet
Fundamentos técnicos de internetFundamentos técnicos de internet
Fundamentos técnicos de internet
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
An introduction to Web 2.0: The User Role
An introduction to Web 2.0: The User RoleAn introduction to Web 2.0: The User Role
An introduction to Web 2.0: The User Role
 
Web basics
Web basicsWeb basics
Web basics
 
Introduction to Web 2.0
Introduction to Web 2.0Introduction to Web 2.0
Introduction to Web 2.0
 
Dns introduction
Dns   introduction Dns   introduction
Dns introduction
 
Web of Science: REST or SOAP?
Web of Science: REST or SOAP?Web of Science: REST or SOAP?
Web of Science: REST or SOAP?
 
TCP/IP and DNS
TCP/IP and DNSTCP/IP and DNS
TCP/IP and DNS
 
Kanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar_SrTestingAnalystKanchan Ghangrekar_SrTestingAnalyst
Kanchan Ghangrekar_SrTestingAnalyst
 
TCP/IP Protocols
TCP/IP ProtocolsTCP/IP Protocols
TCP/IP Protocols
 
Software Deployment Principles & Practices
Software Deployment Principles & PracticesSoftware Deployment Principles & Practices
Software Deployment Principles & Practices
 
Web Application Development
Web Application DevelopmentWeb Application Development
Web Application Development
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni Inturi
 
Architecture of the Web browser
Architecture of the Web browserArchitecture of the Web browser
Architecture of the Web browser
 

Semelhante a DNS & HTTP overview

Semelhante a DNS & HTTP overview (20)

Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
Application layer protocols
Application layer protocolsApplication layer protocols
Application layer protocols
 
15 Application layer.pptx
15 Application layer.pptx15 Application layer.pptx
15 Application layer.pptx
 
Ch-1_.ppt
Ch-1_.pptCh-1_.ppt
Ch-1_.ppt
 
Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systems
 
Jagmohancrawl
JagmohancrawlJagmohancrawl
Jagmohancrawl
 
Web & HTTP
Web & HTTPWeb & HTTP
Web & HTTP
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocol
 
Web Programming HTML.pptx
Web Programming HTML.pptxWeb Programming HTML.pptx
Web Programming HTML.pptx
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
web_01_HTTP.ppt
web_01_HTTP.pptweb_01_HTTP.ppt
web_01_HTTP.ppt
 
Lecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptxLecture 1 Introduction to Web Development.pptx
Lecture 1 Introduction to Web Development.pptx
 
3-Application Layer.pptx
3-Application Layer.pptx3-Application Layer.pptx
3-Application Layer.pptx
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)
 
Http VS. Https
Http VS. HttpsHttp VS. Https
Http VS. Https
 
Http protocol
Http protocolHttp protocol
Http protocol
 
Http
HttpHttp
Http
 
Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 

Último

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 

Último (20)

Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

DNS & HTTP overview

  • 1.
  • 2. Hello! My name is Roman In today’s presentation I will be going over the different concepts that make up DNS and HTTP.
  • 3.
  • 4. DNS or Domain Name System • A globally distributed, scalable, reliable database made up of large networks of interconnected computers. • One of the most important parts of the internet. • Most basic form: translated webiste names into 10101100s • Make networks human friendly • No Internet without DNS • Comprised of three components • A “name space” • Servers making that name space available • Resolvers (clients) which query the servers about the name space
  • 5. Primary Server: -holds the master copy of the data for a zone, -notifies secondary server of changes –notify request -responds to queries from Secondary Servers Secondary Server: -have copies of the primary DNS data synchronized through zone tranfers -when prompted, or at intervals query Primary Servers for DNS record changes (redundancy) -any changes done to Primary Server is copied through zone transfers
  • 6. com net au info biz com net org org Other ccTLDs id internal prosrs google yahoo theagemicrosoftausregistry “root” zone TLDs & ccTLDs 2LD 3LD 4LD
  • 7. DNS Resolution The process of website name’s name into an IP address, or vice versa. Root server is asked about the domain name that needs to be resolved. If the server doesn’t know it will contact another name server until it finds the authoritative server resposible for the domain. Authoritative server responds with a cachable info for browser to process. DNS Delegation Process of distibuting the namespace into more zones. Used traffic distribution; DNS performanance resolution; fault tolerance; adding new branches, locations;
  • 8. DNS server make up: Client Server pc Recursive Servers DNS info from resolvers; queries multiple servers Root Server Top level domain hierarchy; contacts others; Authoritative Servers Server in charge of a given zone; has domain registration records;
  • 9. DNS Delegation Process of distributing the namespace into more zones. Used traffic distribution; DNS performanance resolution; fault tolerance; adding new branches, locations; Forward & Reverse DNS resolutions Name into IP = Forward Resolution IP into Name = Reverse Resolution
  • 10. DNS record – single entry that gives the ZONE instructions DNS Record consists of: Record name Record value Time to live (TTL) DNS Zone A container of all the DNS records for a specific domain. Example: visit.krakow.com www.visit.krakow.com blog.visit.krakow.com DNS records that make up DNS ZONE mail.visit.krakow.com
  • 11. Blank Name Record that has nothing in the name slot. Ex. Visitkrakow.com vs www.visitkrakow.com No data for record type has www as it’s record name A Record • Used to point a domain or a subdomain to an IP address. • Point one domain to multiple IP addresses (redundancy/load balancing/performnce) C NAME (Canonical Name ) • DNS entry used to point a host name to a host name • Allows changes to the IP address of a server, or cluster of servers without making DNS changes • Docs.example.com and documents.example.com acess the same files MX Records (Mail Exchange) • Used to route email according to owner’s preferences • Allows you to specify multiple mail servers to be used documents.example.com to docs.example.com documents.example.com to docs.example.com
  • 12. SPF Records (Sender Policy Framework) • Open standard created to prevent Address forgery • Current versions SPFv1/SPF Classic protect sender • Domain owner publishes SPF info in domain’s DNS Zone • Receiving server can check if the message complies with the domain’s stated policy. If the message comes from an inkown sender it will be considered fake, and discarded. • The receiving server needs to keep of SPF information. • NS (name server) • Name Server (NS) records identify the name servers that are authoritative for the DNS zone. • TTL (Time to LIve) • Total value in seconds how the DNS record will be cached before it needs to be refreshed. A queried Name Server will check TTL to see how ling before it has to refresh, and if the DNS record was delivered on time.
  • 13. Record Value The data that tells DNS record where you want it to point. Uniform Resource Locator (URL) A URL is the web address of a resource on the Internet. This is the address you type in a browser to visit a particular web site. For example www.visitkrakow.com .
  • 14.
  • 15. HTTP Hypertransfer Text & Protocol Communication protocol used to send data from one program to another over the Internet. Most significatnt protocol on the internet. port80
  • 16. HTTP communication between a client and a server. • Server listens • Server accepts and records request • Server can continue to accept other requests • Server writes responses of requests • Server ends response • Business Applications • Database Server Client connects
  • 17. Web Application Components Web Browser: presents the user interface Web Server: processes HTTP requests Business Application: processes requests at the application level by providing a service Database Server: maintains the database by processing query and update requests from the application HTTP is the language that web clients and web servers use to talk to each other HTTP is largely “under the hood,” but a basic understanding can be helpful.
  • 18. Web Browser Responsibilities • User Interface Presentation • Client-Server Communication (HTTP) • Cache Control • Cookie Management • Handling Embedded Objects • Script Interpretation • User Interface Presentation • Parse HTML and CSS code • handle errors • Format and present a graphical display • Handle user interactions • scroll, mouse movement, click, etc.
  • 19. The Client sends a message to the Server at a particular port (80 is the default) The first part of the message is the request line, containing: A method (HTTP command) such as GET or POST A document address, and An HTTP version number Example: GET /index.html HTTP/1.0
  • 20. When a user submits a browser request to a web server, it sends two categories of data: Form Data: Data that the user explicitly typed into an HTML form. For example: registration information. HTTP Request Header Data: Data that is automatically appended to the HTTP Request from the client. For example: cookies, browser type, etc,
  • 21. Other methods beside GET and POST are: HEAD: Like GET, but ask that only a header be returned PUT: Request to store the entity-body at the URI DELETE: Request removal of data at the URI LINK: Request header information be associated with a document on the server UNLINK: Request to undo a LINK request OPTIONS: Request information about communications options on the server TRACE: Request that the entity-body be returned as received (used for debugging)
  • 22. The second part of a request is optional header information, such as: What the client software is What formats it can accept All information is in the form Name: Value Example: User-Agent: Mozilla/2.02Gold (WinNT; I) Accept: image/gif, image/jpeg, */* A blank line ends the header Accept: type/subtype, type/subtype, ... Specifies media types that the client prefers to accept Accept-Language: en, fr, de Preferred language (For example: English, French, German) User-Agent: string The browser or other client program sending the request From: dave@acm.org Email address of user of client program Cookie: name=value Information about a cookie for that URL Multiple cookies can be separated by commas
  • 23. In this example, the client wants to send data to the server. We use the POST method. The request line shows the method (POST), URL, and HTTP version (1.1). There are four lines of headers. The request body contains the input information. The response message contains the status line and four lines of headers. The created document, which is a CGI document, is included as the body.
  • 24. Response headers: Server: NCSA/1.3 Name and version of the server Content-Type: type/subtype Should be of a type and subtype specified by the client’s Accept header Set-Cookie: name=value; options Requests the client to store a cookie with the given name and value http-equiv and content typically have the same kinds of values as in the HTTP header This tag asks the client to pretend that the information actually occurred in the header The information is not really in the header This tag is available because you have little direct control over what is in the header (unless you write your own server) As usual, not all browsers handle this information the same way Example: <meta http-equiv="Set-Cookie" content="value=n;expires=date; path=url
  • 25. Summary ▹ HTTP is a fairly straightforward protocol with a lot of possible kinds of predefined header information ▸ More kinds can be added, so long as client and server agree ▹ A request from the client consists of three parts: 1. A header line 2. A block of header information, ending with a blank line 3. The (optional) entity body, containing data ▹ A response from the server consists of the same three parts ▹ HTTP headers are “under the hood” information, not normally displayed to the user