Networking Core Protocols Flashcards
At what OSI layer does DNS operate on?
(7) Application layer
What is DNS an abbreviation for?
Domain Name System
What transport protocols does DNS use?
TCP and UDP
What records does DNS have?
A (IPv4), AAAA (IPv6), CNAME (Canonical Name: Domain name to domain name) and MX (MailExchange)
What CLI tool can you use to look up the IP of a domain such as www.example.com
nslookup (on both Windows and Linux)
[CMD] whois www.JeppeOgFredrika.dk
anvender whois som cmd værktøj til at slå op informationer om domænet jeppeogfredrika.dk
How would you via telnet use HTTP to retrieve a file.html from ip 10.44.238.25 on the default http port?
telnet 10.44.238.25 80 (ip port)
GET /file.html HTTP/1.1
Host: anything
[Acronym] FTP
File Transfer Protocol
What port does FTP listen on by default?
21
FTP command to download a file once connected, and location on local machine once downloaded?
“get filename” and will be in the pwd/cd of where the ftp client command was executed
[CMD] Connect to an ip via ftp
ftp ip
[Acronym] SMTP
Simple Mail Transfer Protocol
Default port for Simple Mail Transfer Protocol (SMTP)?
25
Which SMTP command indicates that the client will start the contents of the email message?
DATA
[SMTP] What does the client send to indicate that the e-mail has been fully entered?
A dot on a new line (“.”)