nslookup

/ Linux/Unix / Comment[0]
nslookupコマンド面白いね
$ nslookup
> server
Default server: 10.25.0.1
Address: 10.25.0.1#53

> set querytype=any

> nicovideo.jp.
Server: 10.25.0.1
Address: 10.25.0.1#53

Non-authoritative answer:
nicovideo.jp text = "v=spf1 +ip4:61.204.150.0/24 +ip4:202.219.104.0/23 +ip4:202.248.110.0/24 ~all"
nicovideo.jp
origin = ns101.dwango.co.jp
mail addr = dp-info.dwango.co.jp
serial = 2007082192
refresh = 3600
retry = 4500
expire = 604800
minimum = 300
Name: nicovideo.jp
Address: 202.248.110.243
nicovideo.jp nameserver = ns101.dwango.co.jp.
nicovideo.jp nameserver = ns102.dwango.co.jp.

Authoritative answers can be found from:
nicovideo.jp nameserver = ns101.dwango.co.jp.
nicovideo.jp nameserver = ns102.dwango.co.jp.
ns101.dwango.co.jp internet address = 61.204.150.137
ns102.dwango.co.jp internet address = 202.219.104.21

> server ns101.dwango.co.jp.
Default server: ns101.dwango.co.jp.
Address: 61.204.150.137#53

> nicovideo.jp
Server: ns101.dwango.co.jp.
Address: 61.204.150.137#53

Name: nicovideo.jp
Address: 202.248.110.243
nicovideo.jp nameserver = ns102.dwango.co.jp.
nicovideo.jp nameserver = ns101.dwango.co.jp.
nicovideo.jp
origin = ns101.dwango.co.jp
mail addr = dp-info.dwango.co.jp
serial = 2007082192
refresh = 3600
retry = 4500
expire = 604800
minimum = 300
nicovideo.jp text = "v=spf1 +ip4:61.204.150.0/24 +ip4:202.219.104.0/23 +ip4:202.248.110.0/24 ~all"

> server ns102.dwango.co.jp.
Default server: ns102.dwango.co.jp.
Address: 202.219.104.21#53

> dwango.co.jp.
Server: ns102.dwango.co.jp.
Address: 202.219.104.21#53

Name: dwango.co.jp
Address: 202.219.104.78
dwango.co.jp mail exchanger = 10 mail.dwango.co.jp.
dwango.co.jp nameserver = ns101.dwango.co.jp.
dwango.co.jp nameserver = ns102.dwango.co.jp.
dwango.co.jp
origin = ns101.dwango.co.jp
mail addr = dp-info.dwango.co.jp
serial = 2007081348
refresh = 3600
retry = 4500
expire = 604800
minimum = 300
dwango.co.jp text = "v=spf1 +ip4:61.204.150.0/24 +ip4:202.219.104.0/23 -all"

textレコードにある「v=spf1~」はSPF(Sender Policy Framework)っつってメールのソースアドレス偽装を防ぐアレ。
SPFでは+だの-の部分が「クオリファイア」、ipv4:~の部分が「メカニズム」って呼ばれてる。
構文は簡単。左に書かれているものほど優先され、「+」が許可するアドレスで、「-」が禁止するアドレス。つまり、「v=spf1 +ip4:61.204.150.0/24 +ip4:202.219.104.0/23 -all」の場合、「61.204.150.0/24と202.219.104.0/23以外からのメール送信は許可しない」という意味になる。

ということはdwangoのネットワークアドレスの割り当て範囲は61.204.150.0/24と202.219.104.0/23ってことだね。

なんとなくホスト列挙
dwangoの知らなかったサービスや隠しサービスが見つかるかもしれない
$ for i in `seq 254`;do host 61.204.150.$i;done|grep pointer
11.150.204.61.in-addr.arpa domain name pointer lb101-test01.dwango.co.jp.
128.150.204.61.in-addr.arpa domain name pointer misworks101.dwango.jp.
129.150.204.61.in-addr.arpa domain name pointer mon101.dwango.co.jp.
130.150.204.61.in-addr.arpa domain name pointer redirect101.dwango.co.jp.
131.150.204.61.in-addr.arpa domain name pointer vpn101.dwango.co.jp.
132.150.204.61.in-addr.arpa domain name pointer ns-gm.dwango.co.jp.
133.150.204.61.in-addr.arpa domain name pointer ns-gm-r1.dwango.co.jp.
134.150.204.61.in-addr.arpa domain name pointer ns-gm-ha1.dwango.co.jp.
135.150.204.61.in-addr.arpa domain name pointer ns-gm-r2.dwango.co.jp.
136.150.204.61.in-addr.arpa domain name pointer ns-gm-ha2.dwango.co.jp.
137.150.204.61.in-addr.arpa domain name pointer ns101.dwango.co.jp.
138.150.204.61.in-addr.arpa domain name pointer ns101-r1.dwango.co.jp.
139.150.204.61.in-addr.arpa domain name pointer ns101-ha1.dwango.co.jp.
140.150.204.61.in-addr.arpa domain name pointer ns101-r2.dwango.co.jp.
141.150.204.61.in-addr.arpa domain name pointer ns101-ha2.dwango.co.jp.
144.150.204.61.in-addr.arpa domain name pointer wrkeneki01.dwango.co.jp.
145.150.204.61.in-addr.arpa domain name pointer tone101.dwango.co.jp.
146.150.204.61.in-addr.arpa domain name pointer webmail.dwango.co.jp.
149.150.204.61.in-addr.arpa domain name pointer mail.dwango.co.jp.
151.150.204.61.in-addr.arpa domain name pointer wskyscraper.skyscraper.co.jp.
152.150.204.61.in-addr.arpa domain name pointer mdme101.d-me.jp.
154.150.204.61.in-addr.arpa domain name pointer home.dwango.co.jp.
157.150.204.61.in-addr.arpa domain name pointer wevo101.evolution-m.com.
159.150.204.61.in-addr.arpa domain name pointer cbz102.dwango.co.jp.
160.150.204.61.in-addr.arpa domain name pointer cbz.dwango.co.jp.
163.150.204.61.in-addr.arpa domain name pointer webform.dwango.co.jp.
167.150.204.61.in-addr.arpa domain name pointer wsus101.dwango.co.jp.
168.150.204.61.in-addr.arpa domain name pointer ca.dwango.co.jp.
169.150.204.61.in-addr.arpa domain name pointer vpn.dwango.co.jp.
172.150.204.61.in-addr.arpa domain name pointer vpn102.dwango.co.jp.
201.150.204.61.in-addr.arpa domain name pointer g.dwango.co.jp.
220.150.204.61.in-addr.arpa domain name pointer mail.dwnago.jp.
242.150.204.61.in-addr.arpa domain name pointer okb-gw.dwango.co.jp.
247.150.204.61.in-addr.arpa domain name pointer lb101.dwango.co.jp.
248.150.204.61.in-addr.arpa domain name pointer lb102.dwango.co.jp.
254.150.204.61.in-addr.arpa domain name pointer okb-csw101-vr01.dwango.co.jp.


$ for i in `seq 254`;do host 202.219.104.$i;done|grep pointer
21.104.219.202.in-addr.arpa domain name pointer ns102.dwango.co.jp.
22.104.219.202.in-addr.arpa domain name pointer ns102-r1.dwango.co.jp.
23.104.219.202.in-addr.arpa domain name pointer ns102-ha1.dwango.co.jp.
24.104.219.202.in-addr.arpa domain name pointer ns102-r2.dwango.co.jp.
25.104.219.202.in-addr.arpa domain name pointer ns102-ha2.dwango.co.jp.
31.104.219.202.in-addr.arpa domain name pointer interface-manage.greencard.ne.jp.
33.104.219.202.in-addr.arpa domain name pointer asp-manage.dwango.co.jp.
34.104.219.202.in-addr.arpa domain name pointer gc.dwango.jp.
35.104.219.202.in-addr.arpa domain name pointer asp-web01.dwango.jp.
36.104.219.202.in-addr.arpa domain name pointer asp-web02.dwango.jp.
41.104.219.202.in-addr.arpa domain name pointer mail.blog.dwango.jp.
42.104.219.202.in-addr.arpa domain name pointer blog.dwango.jp.
43.104.219.202.in-addr.arpa domain name pointer portal-web01.dwango.jp.
44.104.219.202.in-addr.arpa domain name pointer portal-web02.dwango.jp.
45.104.219.202.in-addr.arpa domain name pointer portal-web03.dwango.jp.
46.104.219.202.in-addr.arpa domain name pointer portal-web04.dwango.jp.
47.104.219.202.in-addr.arpa domain name pointer portal-manage.dwango.co.jp.
58.104.219.202.in-addr.arpa domain name pointer smix-nat.dwango.jp.
74.104.219.202.in-addr.arpa domain name pointer smix-test.dwango.co.jp.
83.104.219.202.in-addr.arpa domain name pointer warp-web-dev.next.dwango.jp.
86.104.219.202.in-addr.arpa domain name pointer 3dmix.dwango.jp.
91.104.219.202.in-addr.arpa domain name pointer warptest.dwango.jp.
93.104.219.202.in-addr.arpa domain name pointer portal-web05.dwango.jp.
94.104.219.202.in-addr.arpa domain name pointer portal-web06.dwango.jp.
96.104.219.202.in-addr.arpa domain name pointer interface-manage.test.greencard.ne.jp.
97.104.219.202.in-addr.arpa domain name pointer asp-test.dwango.co.jp.
101.104.219.202.in-addr.arpa domain name pointer mail.nicoga.jp.
102.104.219.202.in-addr.arpa domain name pointer bls-dev.dwango.co.jp.
106.104.219.202.in-addr.arpa domain name pointer portal-mail.dwango.jp.
107.104.219.202.in-addr.arpa domain name pointer portal-mail01.dwango.jp.
108.104.219.202.in-addr.arpa domain name pointer portal-mail01-01.dwango.jp.
109.104.219.202.in-addr.arpa domain name pointer portal-mail01-02.dwango.jp.
110.104.219.202.in-addr.arpa domain name pointer portal-mail01-03.dwango.jp.
111.104.219.202.in-addr.arpa domain name pointer portal-mail02.dwango.jp.
112.104.219.202.in-addr.arpa domain name pointer portal-mail02-01.dwango.jp.
113.104.219.202.in-addr.arpa domain name pointer portal-mail02-02.dwango.jp.
114.104.219.202.in-addr.arpa domain name pointer portal-mail02-03.dwango.jp.
118.104.219.202.in-addr.arpa domain name pointer chokuhan-manage.nicovideo.jp.
123.104.219.202.in-addr.arpa domain name pointer auttg.dwango.co.jp.
135.104.219.202.in-addr.arpa domain name pointer fms.niwavideo.jp.
136.104.219.202.in-addr.arpa domain name pointer fms01.niwavideo.jp.
137.104.219.202.in-addr.arpa domain name pointer fms02.niwavideo.jp.
138.104.219.202.in-addr.arpa domain name pointer fms-manage.niwavideo.jp.
139.104.219.202.in-addr.arpa domain name pointer mail.animelo.jp.
168.104.219.202.in-addr.arpa domain name pointer www.dev.nicovideo.jp.
176.104.219.202.in-addr.arpa domain name pointer amail01-01.nicovideo.jp.
177.104.219.202.in-addr.arpa domain name pointer amail01-02.nicovideo.jp.
178.104.219.202.in-addr.arpa domain name pointer amail01-03.nicovideo.jp.
179.104.219.202.in-addr.arpa domain name pointer amail01-04.nicovideo.jp.
180.104.219.202.in-addr.arpa domain name pointer amail01-05.nicovideo.jp.
181.104.219.202.in-addr.arpa domain name pointer amail01-06.nicovideo.jp.
182.104.219.202.in-addr.arpa domain name pointer deco.dwango.jp.
185.104.219.202.in-addr.arpa domain name pointer amail02-01.nicovideo.jp.
186.104.219.202.in-addr.arpa domain name pointer amail02-02.nicovideo.jp.
187.104.219.202.in-addr.arpa domain name pointer amail02-03.nicovideo.jp.
188.104.219.202.in-addr.arpa domain name pointer amail02-04.nicovideo.jp.
189.104.219.202.in-addr.arpa domain name pointer amail02-05.nicovideo.jp.
190.104.219.202.in-addr.arpa domain name pointer amail02-06.nicovideo.jp.
191.104.219.202.in-addr.arpa domain name pointer amail03-01.nicovideo.jp.
192.104.219.202.in-addr.arpa domain name pointer amail03-02.nicovideo.jp.
193.104.219.202.in-addr.arpa domain name pointer amail03-03.nicovideo.jp.
194.104.219.202.in-addr.arpa domain name pointer amail03-04.nicovideo.jp.
195.104.219.202.in-addr.arpa domain name pointer amail03-05.nicovideo.jp.
196.104.219.202.in-addr.arpa domain name pointer amail03-06.nicovideo.jp.
197.104.219.202.in-addr.arpa domain name pointer amail04-01.nicovideo.jp.
198.104.219.202.in-addr.arpa domain name pointer amail04-02.nicovideo.jp.
199.104.219.202.in-addr.arpa domain name pointer amail04-03.nicovideo.jp.
200.104.219.202.in-addr.arpa domain name pointer amail04-04.nicovideo.jp.
201.104.219.202.in-addr.arpa domain name pointer amail04-05.nicovideo.jp.
202.104.219.202.in-addr.arpa domain name pointer amail04-06.nicovideo.jp.
203.104.219.202.in-addr.arpa domain name pointer amail05-01.nicovideo.jp.
204.104.219.202.in-addr.arpa domain name pointer amail05-02.nicovideo.jp.
205.104.219.202.in-addr.arpa domain name pointer amail05-03.nicovideo.jp.
206.104.219.202.in-addr.arpa domain name pointer amail05-04.nicovideo.jp.
207.104.219.202.in-addr.arpa domain name pointer amail05-05.nicovideo.jp.
208.104.219.202.in-addr.arpa domain name pointer amail05-06.nicovideo.jp.
209.104.219.202.in-addr.arpa domain name pointer bmail.nicovideo.jp.
241.104.219.202.in-addr.arpa domain name pointer mario.dwango.co.jp.

$ for i in `seq 254`;do host 202.219.105.$i;done|grep pointer
3.105.219.202.in-addr.arpa domain name pointer tmail.niwango.jp.
6.105.219.202.in-addr.arpa domain name pointer mail.niwango.jp.
10.105.219.202.in-addr.arpa domain name pointer bounce.niwango.jp.
15.105.219.202.in-addr.arpa domain name pointer wan-mail01.niwango.jp.
16.105.219.202.in-addr.arpa domain name pointer wan-mail02.niwango.jp.
18.105.219.202.in-addr.arpa domain name pointer www.nicope.jp.
25.105.219.202.in-addr.arpa domain name pointer pc-ready.animelo.jp.
26.105.219.202.in-addr.arpa domain name pointer info.dwango.co.jp.
38.105.219.202.in-addr.arpa domain name pointer chokunat.nicovideo.jp.
54.105.219.202.in-addr.arpa domain name pointer mg-dev.dwango.co.jp.
55.105.219.202.in-addr.arpa domain name pointer tmail00.niwango.jp.
58.105.219.202.in-addr.arpa domain name pointer i.shiren.jp.
65.105.219.202.in-addr.arpa domain name pointer blog.niwango.jp.
76.105.219.202.in-addr.arpa domain name pointer r-web01.dwango.co.jp.
77.105.219.202.in-addr.arpa domain name pointer r-web02.dwango.co.jp.
81.105.219.202.in-addr.arpa domain name pointer hatunejima.net.
82.105.219.202.in-addr.arpa domain name pointer hatsune-web01.hatunejima.net.
83.105.219.202.in-addr.arpa domain name pointer hatsune-web02.hatunejima.net.
84.105.219.202.in-addr.arpa domain name pointer mail-master01.dwango.co.jp.
96.105.219.202.in-addr.arpa domain name pointer t.hatunejima.net.
97.105.219.202.in-addr.arpa domain name pointer tmail01.niwango.jp.
98.105.219.202.in-addr.arpa domain name pointer tmail02.niwango.jp.
99.105.219.202.in-addr.arpa domain name pointer tmail03.niwango.jp.
100.105.219.202.in-addr.arpa domain name pointer tmail04.niwango.jp.
101.105.219.202.in-addr.arpa domain name pointer wan-mail01-01.niwango.jp.
102.105.219.202.in-addr.arpa domain name pointer wan-mail01-02.niwango.jp.
103.105.219.202.in-addr.arpa domain name pointer wan-mail01-03.niwango.jp.
104.105.219.202.in-addr.arpa domain name pointer wan-mail01-04.niwango.jp.
105.105.219.202.in-addr.arpa domain name pointer wan-mail01-05.niwango.jp.
106.105.219.202.in-addr.arpa domain name pointer wan-mail02-01.niwango.jp.
107.105.219.202.in-addr.arpa domain name pointer wan-mail02-02.niwango.jp.
108.105.219.202.in-addr.arpa domain name pointer wan-mail02-03.niwango.jp.
109.105.219.202.in-addr.arpa domain name pointer wan-mail02-04.niwango.jp.
110.105.219.202.in-addr.arpa domain name pointer wan-mail02-05.niwango.jp.
118.105.219.202.in-addr.arpa domain name pointer cs.dwango.co.jp.
141.105.219.202.in-addr.arpa domain name pointer dev.g-ichiba.b.nu.
155.105.219.202.in-addr.arpa domain name pointer hatsune-web03.hatunejima.net.
157.105.219.202.in-addr.arpa domain name pointer ns.naozumi.tv.
158.105.219.202.in-addr.arpa domain name pointer tmail05.niwango.jp.
159.105.219.202.in-addr.arpa domain name pointer tmail06.niwango.jp.
161.105.219.202.in-addr.arpa domain name pointer ai-web01.ai-sp.jp.
162.105.219.202.in-addr.arpa domain name pointer ai-web02.ai-sp.jp.
163.105.219.202.in-addr.arpa domain name pointer mp.niwango.jp.
164.105.219.202.in-addr.arpa domain name pointer wan-mail01-06.niwango.jp.
165.105.219.202.in-addr.arpa domain name pointer wan-mail01-07.niwango.jp.
170.105.219.202.in-addr.arpa domain name pointer wan-mail01-12.niwango.jp.
171.105.219.202.in-addr.arpa domain name pointer wan-mail01-13.niwango.jp.
172.105.219.202.in-addr.arpa domain name pointer wan-mail01-14.niwango.jp.
173.105.219.202.in-addr.arpa domain name pointer wan-mail01-15.niwango.jp.
174.105.219.202.in-addr.arpa domain name pointer wan-mail01-16.niwango.jp.
175.105.219.202.in-addr.arpa domain name pointer wan-mail01-17.niwango.jp.
176.105.219.202.in-addr.arpa domain name pointer wan-mail02-06.niwango.jp.
177.105.219.202.in-addr.arpa domain name pointer wan-mail02-07.niwango.jp.
182.105.219.202.in-addr.arpa domain name pointer wan-mail02-12.niwango.jp.
183.105.219.202.in-addr.arpa domain name pointer wan-mail02-13.niwango.jp.
184.105.219.202.in-addr.arpa domain name pointer wan-mail02-14.niwango.jp.
185.105.219.202.in-addr.arpa domain name pointer wan-mail02-15.niwango.jp.
186.105.219.202.in-addr.arpa domain name pointer wan-mail02-16.niwango.jp.
187.105.219.202.in-addr.arpa domain name pointer wan-mail02-17.niwango.jp.
188.105.219.202.in-addr.arpa domain name pointer cmary-dev.dwango.co.jp.
197.105.219.202.in-addr.arpa domain name pointer www.cho-animelo.com.
215.105.219.202.in-addr.arpa domain name pointer manage.naozumi.tv.
216.105.219.202.in-addr.arpa domain name pointer naozumi-web02.naozumi.tv.
217.105.219.202.in-addr.arpa domain name pointer newnaozumi.dwango.co.jp.
218.105.219.202.in-addr.arpa domain name pointer bijintenki.jp.
219.105.219.202.in-addr.arpa domain name pointer i-mary.dwango.co.jp.
223.105.219.202.in-addr.arpa domain name pointer i-mary-test.dwango.co.jp.
225.105.219.202.in-addr.arpa domain name pointer kara-mail.dwango.co.jp.
226.105.219.202.in-addr.arpa domain name pointer wantis01.dwango.co.jp.
233.105.219.202.in-addr.arpa domain name pointer kanshi-info.dwango.co.jp.
239.105.219.202.in-addr.arpa domain name pointer tokutei01.dwango.co.jp.
251.105.219.202.in-addr.arpa domain name pointer ns2.dwango.co.jp.
なんか激しく反れたね
関連記事

コメント

:
:
:
:
:
管理人のみ表示を許可