课程: Linux System Engineer: Networking and SSH
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Query DNS servers with dig
- [Instructor] We have more than one command to query DNS servers, including the legacy nslookup. However, dig does such a good job, I'm going to focus on it. Let's type in dig, space, redhat.com and look at the results. In a terminal, type dig, space, redhat.com, and hit Enter. This shows information on redhat.com. The dig command shows the header, which includes the dig command version number and the global options used by dig. It also shows a question section, which is a question that's sent to the DNS server. Since the default question is an address query, it shows that we made an address query. Then comes the answer section, which is the response from the DNS query. In our case, it shows the address record. Next is the authority section, which displays the DNS name server that has the authority to respond to this query. Lastly is the additional section, which displays the IP address of the name server listed in the authority section, followed by stats about the query, including…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。