Networking
From mylearnings
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:~$
- Here the priority is set to 10
NetCat Command
- nc
Dig Command
- dig