课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
Use host and nslookup - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
Use host and nslookup
- [Instructor] Two tools that are included in the bind-utils package are host and nslookup. Both tools provide name resolution but are quite different. In rhhost1, log in and open a Terminal. In the Terminal, type in host google.com and hit Enter. We can see that it resolves google.com. Host is a simple tool that is useful when you just need to resolve a host name quickly. There are a few options that can be specified, but it's nowhere near as powerful as dig or nslookup. The other tool we can look at is nslookup. Nslookup is the legacy name resolution tool that uses its own resolver code as opposed to dig, which uses the operating systems. For years, nslookup came with a warning that said it was going to go away, but with the most recent versions of BIND, it seems to have been elevated back to full status. Type in clear, and then type in nslookup google.com, and hit Enter. Some things are easier when using nslookup than when using dig. And it may be more familiar to users of other…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。