SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applicationsOnline
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web ArchitectureChamnap Chhorn
 
FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer ProtocolPeter R. Egli
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Shimona Agarwal
 
Proxy servers
Proxy serversProxy servers
Proxy serversKumar
 
Email server system1.ppt
Email server system1.pptEmail server system1.ppt
Email server system1.pptPooja Ladda
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side ProgrammingMilan Thapa
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol BasicChuong Mai
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)udamale
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name SystemChinmay Joshi
 
DHTML - Events & Buttons
DHTML - Events  & ButtonsDHTML - Events  & Buttons
DHTML - Events & ButtonsDeep Patel
 
Basic concept of internet
Basic concept of internetBasic concept of internet
Basic concept of internetSnehal Shahane
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocolAviran Mordo
 

Tendances (20)

Tcpip services and applications
Tcpip services and applicationsTcpip services and applications
Tcpip services and applications
 
Introduction to Web Architecture
Introduction to Web ArchitectureIntroduction to Web Architecture
Introduction to Web Architecture
 
Sessions in php
Sessions in php Sessions in php
Sessions in php
 
http presentation 1.pptx
http presentation 1.pptxhttp presentation 1.pptx
http presentation 1.pptx
 
FTP - File Transfer Protocol
FTP - File Transfer ProtocolFTP - File Transfer Protocol
FTP - File Transfer Protocol
 
Hypertext transfer protocol (http)
Hypertext transfer protocol (http)Hypertext transfer protocol (http)
Hypertext transfer protocol (http)
 
Proxy servers
Proxy serversProxy servers
Proxy servers
 
Apache ppt
Apache pptApache ppt
Apache ppt
 
Email server system1.ppt
Email server system1.pptEmail server system1.ppt
Email server system1.ppt
 
Server Side Programming
Server Side ProgrammingServer Side Programming
Server Side Programming
 
HTTP Protocol Basic
HTTP Protocol BasicHTTP Protocol Basic
HTTP Protocol Basic
 
NFS(Network File System)
NFS(Network File System)NFS(Network File System)
NFS(Network File System)
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
DHTML - Events & Buttons
DHTML - Events  & ButtonsDHTML - Events  & Buttons
DHTML - Events & Buttons
 
Http Introduction
Http IntroductionHttp Introduction
Http Introduction
 
Smtp
SmtpSmtp
Smtp
 
Basic concept of internet
Basic concept of internetBasic concept of internet
Basic concept of internet
 
Introduction to HTTP protocol
Introduction to HTTP protocolIntroduction to HTTP protocol
Introduction to HTTP protocol
 
Http
HttpHttp
Http
 
Http protocol
Http protocolHttp protocol
Http protocol
 

En vedette

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
 

En vedette (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
 

Similaire à DNS and HTTP Concepts Explained

Distributed web based systems
Distributed web based systemsDistributed web based systems
Distributed web based systemsReza Gh
 
Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocolwanangwa234
 
Web Programming HTML.pptx
Web Programming HTML.pptxWeb Programming HTML.pptx
Web Programming HTML.pptxMarwaAnany1
 
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.pptxKevi20
 
3-Application Layer.pptx
3-Application Layer.pptx3-Application Layer.pptx
3-Application Layer.pptxSachinDUpadhye
 
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.NNavaneethan Naveen
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)webhostingguy
 
Presentation (PowerPoint File)
Presentation (PowerPoint File)Presentation (PowerPoint File)
Presentation (PowerPoint File)webhostingguy
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1hussulinux
 
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptxZahouAmel1
 

Similaire à DNS and HTTP Concepts Explained (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
 
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
 
Compute rNetwork.pptx
Compute rNetwork.pptxCompute rNetwork.pptx
Compute rNetwork.pptx
 
PHP Training: Module 1
PHP Training: Module 1PHP Training: Module 1
PHP Training: Module 1
 
Web
WebWeb
Web
 
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
4-Lect_4-2.pptx4-Lect_4-2.pptx4-Lect_4-2.pptx
 

Dernier

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Dernier (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

DNS and HTTP Concepts Explained

  • 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