URLs, IP Addresses, and DNS Flashcards
Layers of Web Connection
Application Layer
Transport Layer
Internet Layer
Network Access Layer
Application Layer
DNS Protocol and HTTP,HTTPS
Transport Layer
UDP, TCP
Internet Layer
Internet Protocol
Network Access Layer
Network Access
is a sequence of characters that identifies an abstract or physical resource.
Uniform Resource Identifier (URI)
Identifies a resource either by location or name.
Uniform Resource Identifier (URI)
identify a resource using a name.
Uniform Resource Name (URN)
TRUE or FALSE:
Names used by the URN could have duplicates in the same name space
FALSE. name has to be unique across a namespace.
are the most common way of identifying resources on the web.
Uniform Resource Locator
Uniform Resource Locator identifies a resource using its _____________.
location
The web identifies resources by _____________.
location (uses URL)
TRUE or FALSE:
URLs can only refer to 1 resource .
FALSE. URLs may refer to more than 1 resource over time.
At minimum, URLs need a _______ and ___________________.
Protocol, Domain Name
Provide the Protocol and Domain for this URL
https://www.google.com/
Protocol - https://
Domain - www.google.com/
Declares how the browser should communicate with the server.
Protocol
Other examples of network protocols other than http://
smtp://
smb://
ftp://
mongodb://
The name of your website
Domain Name
Domain name could be further broken down into _________ and _____________
Subdomains, Top-Level Domain (TLD)
Provide the Subdomains and TLD in this URL:
https://classroom.google.com/u/0/h
subdomain: classroom
tld: com
Refers to a file, resource, or directory in the server.
Path
What is the path in this URL:
http://sarai.ph/about-us
/about-us
What is the path in this URL:
https://sais.up.edu.ph/psp/ps/?cmd=login
/psp/ps/
Commonly found in the URL of dynamic webpages. Preceded by the ? symbol.
Query
What is the query in this URL?
https://twitter.com/search?q=android&src=typd
?q=android&src=typd
________________ make up the query string.
Parameters
Parameters are ___________ separated by the ‘___’ symbol.
key-value pairs, &
Give the parameter/s in this URL:
https://twitter.com/search?q=android&src=typd
q=android,
src=typd
TRUE or FALSE:
Ports are optional
TRUE
Ports are preceded by a _
: (mykolon)
It’s usually not explicitly included in the URL.
Port
is a type of software connection point.
Port
Usually denotes a specific type of process or service.
Port
Some common default ports:
21 File Transfer
25 Simple Mail Transfer
80 HTTP
443 HTTPS (HTTP with TLS)
Port number for HTTP
80
Port Number for HTTPS
443
TRUE or FALSE:
It’s common practice to avoid ports of well-known apps if you are deploying your own apps.
TRUE
What is the port for this URL (if there’s any):
https://classroom.google.com/u/0/h
:443 (HTTPS)
The __________ is an internal reference to part of a page.
fragment
Sometimes called ‘named anchor’.
fragment
Fragments are marked by a _ symbol
#
Identify:
- Domain
- Port
- Query
- Fragment
https://www.youtube.com/watch?v=dQw4w9WgXcQ
Domain: www.youtube.com
Port: 443
Query: ?v=dQw4w9WgXcQ
Fragment: None
provides an unreliable, connectionless
delivery system used by machines in a network to communicate
Internet Protocol (IP)
is responsible for addressing within a network, encapsulating data into datagrams, and routing
datagrams from source to destination.
Internet Protocol (IP)
is built on top of IP.
TCP
It provides a reliable, connection-oriented communication system.
Transmission Control Protocol (TCP)
2 major versions of IP in use:
IPv4
IPv6
are numerical addresses assigned to
machines in a network. Must be unique within a particular namespace.
IP Addresses
In the ________________________, there are no two machines which are assigned the same public IP addresses.
global list of public IP addresses
IPv4 addresses are composed of _____________________
4 8-bit numbers