In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Cloud Computing Learning Route course outline Courseware client query:
=
Nslookup,host,dig
The client specifies a local DNS
[root@tianyun ~] # cat / etc/resolv.conf
Nameserver 192.168.2.115
[root@tianyun ~] # dig www.baidu.com
[root@tianyun ~] # nslookup www.baidu.com
[root@tianyun ~] # host www.baidu.com
Dig (Linux)
[root@tianyun ~] # dig www.126.com / / use the DNS set by / etc/resolv.conf
[root@tianyun ~] # dig @ 192.168.2.168 www.126.com / / use the specified DNS
[root@tianyun ~] # dig @ 192.168.2.100 www.126.com / / use the specified DNS
Host (Linux)
[root@tianyun ~] # host-t A www.baidu.com / / forward parsing, query A record
[root@tianyun ~] # host 192.168.5.100 / / reverse parsing, query PTR records
[root@tianyun ~] # host www.baidu.com 192.168.5.240 / / parsing using DNS server 192.168.5.240
[root@tianyun ~] # host-t SOA baidu.com / / query the SOA of a domain
Baidu.com has SOA record ns.baidu.com. Root.baidu.com. 2013081303 3600 900 604800 86400
[root@tianyun ~] # host-t NS baidu.com / / query the NS of a domain
Baidu.com name server ns.baidu.com.
Baidu.com name server ns2.baidu.com.
[root@tianyun ~] #
[root@tianyun ~] # host-t MX baidu.com / / query the mail server of a domain
Baidu.com mail is handled by 10 mail.baidu.com.
Nslookup (Linux/Windows)
[root@tianyun ~] # nslookup www.baidu.com
[root@tianyun ~] # nslookup 192.168.5.100
[root@tianyun ~] # nslookup
Www.baidu.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: www.baidu.com
Address: 192.168.5.100
192.168.5.2
Server: 127.0.0.1
Address: 127.0.0.1#53
2.5.168.192.in-addr.arpa name = www.baidu.com.
[root@tianyun ~] # nslookup
Server 192.168.5.2 / / resolve using a temporarily specified server
Default server: 192.168.5.2
Address: 192.168.5.2#53
[root@tianyun ~] # nslookup
Set q=soa
Baidu.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Baidu.com
Origin = ns.baidu.com
Mail addr = root.baidu.com
Serial = 2013081303
Refresh = 3600
Retry = 900,
Expire = 604800
Minimum = 86400
Set q=ns
Baidu.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Baidu.com nameserver = ns.baidu.com.
Baidu.com nameserver = ns2.baidu.com.
[root@tianyun ~] # nslookup
Set q=mx
Baidu.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Baidu.com mail exchanger = 10 mail.baidu.com.
Set Qinta
Www.baidu.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: www.baidu.com
Address: 192.168.5.100
C:\ > ipconfig /?
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.