Networking: Difference between revisions

From mylearnings
Jump to navigationJump to search
No edit summary
 
Line 27: Line 27:
::- Here the priority is set to ''10''
::- Here the priority is set to ''10''


= Nslookup command =
= NetCat Command =
= NetCat Command =
* nc
* nc

Latest revision as of 08:52, 18 May 2025

Host Command

pristal@personal-system:~$ host google.com
google.com has address 142.250.196.14
google.com has IPv6 address 2404:6800:4007:829::200e
google.com mail is handled by 10 smtp.google.com.
pristal@personal-system:~$ 
  • To get the nameservers associated with a domain,
pristal@personal-system:~$ host -t ns google.com
google.com name server ns2.google.com.
google.com name server ns1.google.com.
google.com name server ns3.google.com.
google.com name server ns4.google.com.
pristal@personal-system:~$ 
  • To get the mailserver associated with a domain,
pristal@personal-system:~$ host -t mx google.com
google.com mail is handled by 10 smtp.google.com.
pristal@personal-system:~$ 
- Mail server is smtp.google.com
- Here the priority is set to 10

Nslookup command

NetCat Command

  • nc

Dig Command

  • dig

Nmap Command

Curl Command

Wget Command