Networking Basics

Two or more computers connected together DNS (Domain Name System)

Types of netwok

Topologies

Building blocks

OSI Model

Network Services

DNS, email, internet chat, printer sharing…

IP Addresses

IPv4

192.168.2.14:80

IPv6

Written in hexadecimal

2001:0db8:3a4d:0016:0000:0000:1c2f:1a3b

Subnet

octet octet octet octet

DNS

How a DNS query work

example.com

  1. ask recursive name server
  2. recursive server ask root name server
  3. i dont know but can find in TLD name server for .com
  4. i dont know but you can find in authoritative name server for example.com
  5. ask authoritative name server for example.com and it returns the ip
  6. recursive name server pass the ip to the client and remember the ip for sometime
  7. the client receive the ip and remember for some time

Routing

Routing is moving data from one network to another

Network port

Associated with an ip address, there are 65535 ports

Finding your network information

Finding remote network