The nslookup (uas sawv cev rau lub npe neeg rau zaub mov lookup) cov lus txib pom lub npe neeg rau zaub mov cov ntaub ntawv rau cov thawj coj los ntawm kev nug lub Domain Name System.
Yuav siv nslookup hauv Windows
Txhawm rau siv Windows version ntawm nslookup, qhib Command Prompt thiab ntaus nslookup kom tau txais txiaj ntsig zoo ib yam li qhov no tab sis nrog nkag rau DNS server thiab IP chaw nyob uas koj lub computer yog siv:
C:\> nslookup
Server: solver1.opendns.com
Address: 208.67.222.222
Cov lus txib no txheeb xyuas qhov twg DNS server lub khoos phis tawj tam sim no tau teeb tsa los siv rau nws cov DNS lookups. Raws li qhov piv txwv qhia, lub khoos phis tawj no siv OpenDNS DNS server.
Sau cov lus ceeb toom rau hauv qab ntawm cov lus txib tso tawm. nslookup tseem khiav hauv pem hauv ntej tom qab cov lus txib ua tiav. Qhov kev ceeb toom ntawm qhov kawg ntawm qhov tso zis tso cai rau koj nkag mus rau cov kev txwv ntxiv. Thaum koj ua tiav nslookup yam tsis tau qhia lub npe sau npe, qhov kev zov me nyuam nkag mus rau hom kev sib tham.
Txawm yog ntaus lub npe sau npe koj xav tau cov ntsiab lus nslookup rau lossis tawm nslookup nrog tawmhais kom ua (lossis Ctrl + C keyboard shortcut). Koj tuaj yeem siv nslookup los ntawm kev ntaus cov lus txib ua ntej sau npe, tag nrho ntawm tib kab:
nslookup lifewire.com.
Nov yog ib qho piv txwv tso zis:
nslookup lifewire.com
Non-authoritative teb:
Npe: lifewire.com
Addresses: 151.101.193.121
151.101.65.121 151.101.1.121
151.101.129.121
Nameserver Lookup
Nyob rau hauv DNS, thiaj li hu ua "cov lus teb tsis yog kev tso cai" xa mus rau cov ntaub ntawv DNS khaws cia rau sab nraud DNS servers, uas lawv tau txais los ntawm "authoritative" servers uas muab cov ntaub ntawv qub.
Ntawm no yog yuav ua li cas thiaj tau txais cov ntaub ntawv (piv txwv tias koj twb tau ntaus ntawv nslookup rau hauv Command Prompt):
set type=ns
lifewire.com
[…]
dns1.p08.nsone.net internet chaw nyob=198.51.44.8
dns2. p08.nsone.net internet chaw nyob=198.51.45.8
dns3.p08.nsone.net chaw nyob hauv internet=198.51.44.72
dns4.p08.nsone.net chaw nyob hauv internet=198.51.45.72 ns1.p30.dynect.net chaw nyob internet=208.78.70.30
ns2.p30.dynect.net chaw nyob internet=204.13.250.30
ns3.p30.dynect.net chaw nyob hauv internet=208.78. 71.30
ns4.p30.dynect.net internet chaw nyob=204.13.251.30
Ib qho chaw nyob nrhiav tau tuaj yeem ua tau los ntawm kev qhia ib qho ntawm cov npe sau npe npe. Nslookup ces siv tus neeg rau zaub mov ntawd tsis yog lub npe DNS server cov ntaub ntawv hauv zos.
C:\>nslookup lifewire.com ns1.p30.dynect.net
Server: ns1.p30.dynect.netAddress: 208.78.70.30
Npe: lifewire.com
Addresses: 151.101.65.121
151.101.193.121
151.101.129.121
151.101.1.121
Cov khoom tso tawm tsis hais txog "tsis yog kev tso cai" cov ntaub ntawv ntxiv lawm vim tias lub npe server ns1.p30.dynect yog thawj lub npe server rau Lifewire.com, raws li tau teev tseg hauv "NS cov ntaub ntawv" ntawm nws cov DNS nkag.
Mail Server Lookup
txhawm rau tshawb nrhiav cov ntaub ntawv xa ntawv rau ntawm ib qho chaw tshwj xeeb, nslookupsiv MX cov ntaub ntawv ntawm DNS. Qee qhov chaw, xws li Lifewire.com, txhawb nqa ob qho tib si thawj thiab thaub qab servers.
Xa cov lus nug rau Lifewire.com ua haujlwm zoo li no:
set type=mx
lifewire.com
[…]
Non-authoritative answer:
lifewire.com MX nyiam=20, mail exchanger=ALT1. ASPMX. L. GOOGLE.com
lifewire.com MX nyiam=10, mail exchanger=ASPMX. L. GOOGLE.com
lifewire.com MX nyiam=50, mail exchanger=ALT4. ASPMX. L. GOOGLE.com
lifewire.com MX nyiam=40, mail exchanger=ALT3. ASPMX. L. GOOGLE.com
lifewire.com MX nyiam=30, mail exchanger=ALT2. ASPMX. L. GOOGLE.com
Lwm nslookup Queries
Nslookup txhawb kev nug tawm tsam lwm yam tsis tshua siv DNS cov ntaub ntawv suav nrog CNAME, PTR, thiab SOA. Kev ntaus ib lo lus nug ntawm qhov kev ceeb toom luam tawm qhov kev pab cuam cov lus qhia.
Qee lub vev xaib kev hloov pauv ntawm cov nqi hluav taws xob muaj ob peb yam ntxiv tshaj li cov qauv tsis pom nyob hauv lub cuab yeej Windows.
Yuav Ua Li Cas Siv Cov Cuab Yeej Online Nslookup
Online nslookup cov khoom siv hluav taws xob, zoo li ib qho los ntawm Network-Tools.com, cia koj hloov kho ntau dua li qhov tau tso cai nrog cov lus txib los ntawm Windows.
Piv txwv li, tom qab xaiv lub npe, server, thiab chaw nres nkoj, koj tuaj yeem xaiv los ntawm cov npe poob qis ntawm cov lus nug xws li chaw nyob, npe server, lub npe canonical, pib ntawm txoj cai, xa ntawv sau npe, xa ntawv hauv pab pawg neeg, zoo -paub cov kev pab cuam, xa ntawv pauv, ISDN chaw nyob, NSAP chaw nyob, thiab ntau lwm tus.