- Linux
- OpenBSD
- FreeBSD
- Solaris
- bash/shell
- » ab
- » arp
- » arping
- » awk
- » bzip2, bunzip2, bzip2re...
- » chcase
- » chkconfig
- » chmod
- » chown
- » comm
- » convert
- » cat
- » cp
- » cpio
- » cryptsetup
- » curl
- » date
- » diff
- » dig
- » dumpe2fs
- » e2fsck(fsck.{ext2,ext3})
- » eval
- » exportfs
- » file
- » find
- » ftp
- » fuser
- » getfacl
- » grep, egrep, fgrep
- » grub
- » gzip, gunzip
- » hdparm
- » head
- » host
- » ifconfig
- » ifenslave
- » import
- » ionice
- » ip
- » ipcs, ipcrm
- » kill
- » ldconfig
- » ld
- » ldd
- » less
- » locale
- » locate
- » losetup
- » ls
- » lsmod
- » lsof
- » man
- » mke2fs(mkfs.{ext2,ext3})
- » mkinitrd
- » mknod
- » mkswap
- » modinfo
- » modprobe
- » mount
- » mtr
- » mv
- » mysql
- » mysqladmin
- » mysqldump
- » netstat
- » netstat-nat
- » nice
- » nc
- » nm
- » nslookup
- » objdump
- » openssl
- » parted
- » patch
- » perl
- » pg_dump
- » pidof
- » ping
- » pkg-config
- » ps
- » psql
- » rar
- » readelf
- » renice
- » rm
- » rmmod
- » route
- » rpcinfo
- » rpm
- » rsync
- » screen
- » sed
- » sendmail
- » seq
- » setfacl
- » sfdisk
- » showmount
- » shred
- » smartctl
- » smbclient
- » smbget
- » smbpasswd
- » socat
- » sort
- » sox
- » split
- » ssh
- » ssh-keygen
- » stat
- » stdbuf
- » strace
- » svn, svnadmin
- » systool
- » tail
- » tar
- » tcpdump
- » top
- » tr
- » tracepath
- » traceroute
- » tune2fs
- » udevcontrol, udevadm
- » unclutter
- » uniq
- » unzip
- » uuencode, uudecode
- » vim
- » vncviewer
- » vnstat
- » wc
- » wget
- » wput
- » xargs
- » xhost
- » xprop
- » xrandr
- » xwd
- » xxd
- » yum
- » zip, zip{cloak,note,split}
- KDE
- GTK
CONTENT
- CHANGES
Szukaj
#top nslookup¶
nslookup - query Internet name servers interactively
Powiązane:
dig, host, nslookup,
SYNOPSIS
nslookup [-option] [name | -] [server]
DESCRIPTION
OPTIONS
-all
-class=value
-[no]debug
-[no]d2
-domain=name
-[no]search
-port=value
-querytype=value
-type=value
-[no]recurse
-retry=number
-timeout=number
-[no]vc
-[no]failTry the next nameserver if a nameserver responds with SERVFAIL or
Prints the current values of the frequently used options to set. Information about the current default server and host is also printed.
-class=value
Change the query class to one of:
IN the Internet class
CH the Chaos class
HS the Hesiod class
ANY
The class specifies the protocol group of the information.
(Default = IN; abbreviation = cl)
IN the Internet class
CH the Chaos class
HS the Hesiod class
ANY
wildcard
The class specifies the protocol group of the information.
(Default = IN; abbreviation = cl)
-[no]debug
Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer.
(Default = nodebug; abbreviation = [no]deb)
(Default = nodebug; abbreviation = [no]deb)
-[no]d2
Turn debugging mode on. A lot more information is printed about the packet sent to the server and the resulting answer.
(Default = nod2)
(Default = nod2)
-domain=name
Sets the search list to name.
-[no]search
If the lookup request contains at least one period but doesn’t end with a trailing period, append the domain names in the domain search list to the request until an answer is received.
(Default = search)
(Default = search)
-port=value
Change the default TCP/UDP name server port to value.
(Default = 53; abbreviation = po)
(Default = 53; abbreviation = po)
-querytype=value
-type=value
Change the type of the information query.
(Default = A; abbreviations = q, ty)
(Default = A; abbreviations = q, ty)
-[no]recurse
Tell the name server to query other servers if it does not have the information.
(Default = recurse; abbreviation = [no]rec)
(Default = recurse; abbreviation = [no]rec)
-retry=number
Set the number of retries to number.
-timeout=number
Change the initial timeout interval for waiting for a reply to number seconds.
-[no]vc
Always use a virtual circuit when sending requests to the server.
(Default = novc)
(Default = novc)
-[no]failTry the next nameserver if a nameserver responds with SERVFAIL or
a referral (nofail) or terminate query (fail) on such a response.
(Default = nofail)
(Default = nofail)
EXAMPLES
A record
nslookup nask.pl nslookup -type=A nask.pl nslookup -query=A nask.pl nslookup -querytype=A nask.pl
PTR record
nslookup 195.187.242.146 nslookup -type=PTR 195.187.242.146 nslookup -query=PTR 195.187.242.146 nslookup -querytype=PTR 195.187.242.146
MX record
nslookup -type=MX nask.pl nslookup -query=MX nask.pl nslookup -querytype=MX nask.pl
NS record
nslookup -type=NS nask.pl nslookup -query=NS nask.pl nslookup -querytype=NS nask.pl
nslookup
> server Default server: 10.0.0.3 Address: 10.0.0.3#53 > server 10.5.5.5 Default server: 10.5.5.5 Address: 10.5.5.5#53 > set type=A > nask.pl Server: 10.5.5.5 Address: 10.5.5.5#53 Non-authoritative answer: Name: nask.pl Address: 195.187.242.146 > set type=MX > nask.pl Server: 10.5.5.5 Address: 10.5.5.5#53 Non-authoritative answer: nask.pl mail exchanger = 0 bagnar.nask.net.pl. Authoritative answers can be found from: nask.pl nameserver = zt.piotrkow.tpsa.pl. nask.pl nameserver = kirdan.nask.pl. nask.pl nameserver = nms.cyf-kr.edu.pl. nask.pl nameserver = bilbo.nask.pl. nask.pl nameserver = eomer.nask.pl. nask.pl nameserver = ns.tpnet.pl. zt.piotrkow.tpsa.pl internet address = 194.204.158.242 eomer.nask.pl internet address = 193.59.201.24 nms.cyf-kr.edu.pl internet address = 149.156.1.3 nms.cyf-kr.edu.pl has AAAA address 2001:6d8:0:1::a:3 kirdan.nask.pl internet address = 195.187.244.8 ns.tpnet.pl internet address = 80.50.50.50 bilbo.nask.pl internet address = 195.187.245.51 > set type=NS > nask.pl Server: 10.5.5.5 Address: 10.5.5.5#53 Non-authoritative answer: nask.pl nameserver = eomer.nask.pl. nask.pl nameserver = nms.cyf-kr.edu.pl. nask.pl nameserver = ns.tpnet.pl. nask.pl nameserver = bilbo.nask.pl. nask.pl nameserver = kirdan.nask.pl. nask.pl nameserver = zt.piotrkow.tpsa.pl. Authoritative answers can be found from: zt.piotrkow.tpsa.pl internet address = 194.204.158.242 eomer.nask.pl internet address = 193.59.201.24 nms.cyf-kr.edu.pl internet address = 149.156.1.3 nms.cyf-kr.edu.pl has AAAA address 2001:6d8:0:1::a:3 kirdan.nask.pl internet address = 195.187.244.8 ns.tpnet.pl internet address = 80.50.50.50 bilbo.nask.pl internet address = 195.187.245.51 > set type=TXT > nask.pl Server: 10.5.5.5 Address: 10.5.5.5#53 Non-authoritative answer: nask.pl text = "v=spf1 include:_spf.nask.pl ip4:195.187.245.33/24 ip4:193.59.201.32/27 ip4:193.59.201.64/27 ip4:193.59.201.238/32 ip4:195.187.242.0/24 ip4:193.59.204.167/32 -all" Authoritative answers can be found from: nask.pl nameserver = bilbo.nask.pl. nask.pl nameserver = zt.piotrkow.tpsa.pl. nask.pl nameserver = nms.cyf-kr.edu.pl. nask.pl nameserver = eomer.nask.pl. nask.pl nameserver = ns.tpnet.pl. nask.pl nameserver = kirdan.nask.pl. zt.piotrkow.tpsa.pl internet address = 194.204.158.242 eomer.nask.pl internet address = 193.59.201.24 nms.cyf-kr.edu.pl internet address = 149.156.1.3 nms.cyf-kr.edu.pl has AAAA address 2001:6d8:0:1::a:3 kirdan.nask.pl internet address = 195.187.244.8 ns.tpnet.pl internet address = 80.50.50.50 bilbo.nask.pl internet address = 195.187.245.51 > exit
Zmodyfikowany ostatnio: 2014/05/15 09:59:43 (10 lat temu),
textsize: 6,27 kB,
htmlsize: 7,66 kB
Zapraszam do komentowania, zgłaszania sugestii, propozycji, własnych przykładów, ...
Dodaj komentarzKomentarze użytkowników