z*y 发帖数: 1311 | 1 nslookup
> ls -a
Unrecognized command: ls -a
what's wrong? |
l*l 发帖数: 225 | 2 nslookup accept debug state, so there are useful command here:
you want change server:
server ns.yahoo.com
you want list all record host names on domain yahoo.com
ls yahoo.com
you want get more record so:
set all
you want debug it:
set debug
you want know which server was on( TCP/port ):
set port=XXXX
.........
.........
【在 z*y 的大作中提到】 : nslookup : > ls -a : Unrecognized command: ls -a : what's wrong?
|
z*y 发帖数: 1311 | 3
^^^^^^^^^^^^
are you sure you can do that? below is what I got when I tried this.
> server ns.yahoo.com
Default Server: ns.yahoo.com
Address: 204.71.177.33
> ls yahoo.com
[ns.yahoo.com]
*** Can't list domain yahoo.com: Unspecified error
>
So what to do?
【在 l*l 的大作中提到】 : nslookup accept debug state, so there are useful command here: : you want change server: : server ns.yahoo.com : you want list all record host names on domain yahoo.com : ls yahoo.com : you want get more record so: : set all : you want debug it: : set debug : you want know which server was on( TCP/port ):
|
l*l 发帖数: 225 | 4 This is just a example, if yahoo didn't give this server,
so you will get nothing.
The administer will close thoes servers because of bugs and security.
Some time you list a big net and the list will last for one hour to see the
last row.
I give you a site to test ls:
nslookup
> server alpha02.ihep.ac.cn
....
> ls ihep.ac.cn
So you do it
【在 z*y 的大作中提到】 : : ^^^^^^^^^^^^ : are you sure you can do that? below is what I got when I tried this. : > server ns.yahoo.com : Default Server: ns.yahoo.com : Address: 204.71.177.33 : > ls yahoo.com : [ns.yahoo.com] : *** Can't list domain yahoo.com: Unspecified error : >
|
m*****e 发帖数: 4193 | 5 I have told you, you are not *allowed* to do the zone transfer.
If that site allows everybody to do it, the sysadmin must be crazy.
【在 z*y 的大作中提到】 : : ^^^^^^^^^^^^ : are you sure you can do that? below is what I got when I tried this. : > server ns.yahoo.com : Default Server: ns.yahoo.com : Address: 204.71.177.33 : > ls yahoo.com : [ns.yahoo.com] : *** Can't list domain yahoo.com: Unspecified error : >
|
z*y 发帖数: 1311 | 6
but I still don't understand what is zone? means domain? so what is
zone transfer? could you explain more? or direct me to some book?
It is homework. so help me la.
Thanks.
【在 m*****e 的大作中提到】 : I have told you, you are not *allowed* to do the zone transfer. : If that site allows everybody to do it, the sysadmin must be crazy.
|
m*****e 发帖数: 4193 | 7 DNS and BIND, 3rd Edition. A must read if you want to understand DNS.
【在 z*y 的大作中提到】 : : but I still don't understand what is zone? means domain? so what is : zone transfer? could you explain more? or direct me to some book? : It is homework. so help me la. : Thanks.
|
h**h 发帖数: 132 | 8 !!!!
YES.
there is a special chapter intrducing nslookup
also check out dig
【在 m*****e 的大作中提到】 : DNS and BIND, 3rd Edition. A must read if you want to understand DNS.
|