How to find domain name server dns address in linux


 description

Use DNS 8.8.8.8 to view www.cmdhelp.com resolution records on Linux, which can be used to view addon domain server ip

 command

nslookup www.cmdhelp.com 8.8.8.8

 parameter

nslookup : Query dns information

 result

Server:		8.8.8.8
Address:	8.8.8.8#53

Non-authoritative answer:
Name:	www.cmdhelp.com
Address: 39.98.57.160

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.