· 6 years ago · Oct 20, 2019, 09:16 AM
1##########################
2ip адрес сервера по имени
3############################
4egor@braavos:~$ dig intflex.ru A
5
6; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> intflex.ru A
7;; global options: +cmd
8;; Got answer:
9;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51271
10;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
11
12;; OPT PSEUDOSECTION:
13; EDNS: version: 0, flags:; udp: 65494
14;; QUESTION SECTION:
15;intflex.ru. IN A
16
17;; ANSWER SECTION:
18intflex.ru. 6928 IN A 91.228.152.22
19
20;; Query time: 0 msec
21;; SERVER: 127.0.0.53#53(127.0.0.53)
22;; WHEN: Sun Oct 20 11:35:00 EEST 2019
23;; MSG SIZE rcvd: 55
24
25egor@braavos:~$ nslookup -type=a intflex.ru
26Server: 127.0.0.53
27Address: 127.0.0.53#53
28
29Non-authoritative answer:
30Name: intflex.ru
31Address: 91.228.152.22
32
33
34##################
35 rdns
36##################
37egor@braavos:~$ dig -x 91.228.152.22
38
39; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> -x 91.228.152.22
40;; global options: +cmd
41;; Got answer:
42;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31365
43;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
44
45;; OPT PSEUDOSECTION:
46; EDNS: version: 0, flags:; udp: 65494
47;; QUESTION SECTION:
48;22.152.228.91.in-addr.arpa. IN PTR
49
50;; ANSWER SECTION:
5122.152.228.91.in-addr.arpa. 6694 IN PTR kvmde20-17456.fornex.org.
52
53;; Query time: 0 msec
54;; SERVER: 127.0.0.53#53(127.0.0.53)
55;; WHEN: Sun Oct 20 11:39:28 EEST 2019
56;; MSG SIZE rcvd: 93
57
58
59egor@braavos:~$ nslookup -type=PTR 91.228.152.22
60Server: 127.0.0.53
61Address: 127.0.0.53#53
62
63Non-authoritative answer:
6422.152.228.91.in-addr.arpa name = kvmde20-17456.fornex.org.
65
66Authoritative answers can be found from:
67
68
69
70###############
71просмотр записей NS/MX/TXT/A/AAAA
72###############
73egor@braavos:~$ dig intflex.ru A
74
75; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> intflex.ru A
76;; global options: +cmd
77;; Got answer:
78;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16165
79;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
80
81;; OPT PSEUDOSECTION:
82; EDNS: version: 0, flags:; udp: 65494
83;; QUESTION SECTION:
84;intflex.ru. IN A
85
86;; ANSWER SECTION:
87intflex.ru. 6402 IN A 91.228.152.22
88
89;; Query time: 0 msec
90;; SERVER: 127.0.0.53#53(127.0.0.53)
91;; WHEN: Sun Oct 20 11:43:46 EEST 2019
92;; MSG SIZE rcvd: 55
93
94
95egor@braavos:~$ dig yandex.ru A
96
97; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> yandex.ru A
98;; global options: +cmd
99;; Got answer:
100;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10080
101;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
102
103;; OPT PSEUDOSECTION:
104; EDNS: version: 0, flags:; udp: 65494
105;; QUESTION SECTION:
106;yandex.ru. IN A
107
108;; ANSWER SECTION:
109yandex.ru. 199 IN A 5.255.255.5
110yandex.ru. 199 IN A 77.88.55.80
111yandex.ru. 199 IN A 5.255.255.88
112yandex.ru. 199 IN A 77.88.55.88
113
114;; Query time: 23 msec
115;; SERVER: 127.0.0.53#53(127.0.0.53)
116;; WHEN: Sun Oct 20 11:44:11 EEST 2019
117;; MSG SIZE rcvd: 102
118
119
120
121egor@braavos:~$ dig intflex.ru NS
122
123; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> intflex.ru NS
124;; global options: +cmd
125;; Got answer:
126;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34876
127;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1
128
129;; OPT PSEUDOSECTION:
130; EDNS: version: 0, flags:; udp: 65494
131;; QUESTION SECTION:
132;intflex.ru. IN NS
133
134;; ANSWER SECTION:
135intflex.ru. 21599 IN NS ns4.fornex.com.
136intflex.ru. 21599 IN NS ns3.fornex.com.
137intflex.ru. 21599 IN NS ns2.fornex.com.
138intflex.ru. 21599 IN NS ns1.fornex.com.
139
140;; Query time: 48 msec
141;; SERVER: 127.0.0.53#53(127.0.0.53)
142;; WHEN: Sun Oct 20 11:45:05 EEST 2019
143;; MSG SIZE rcvd: 121
144
145egor@braavos:~$ dig intflex.ru MX
146
147; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> intflex.ru MX
148;; global options: +cmd
149;; Got answer:
150;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25099
151;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
152
153;; OPT PSEUDOSECTION:
154; EDNS: version: 0, flags:; udp: 65494
155;; QUESTION SECTION:
156;intflex.ru. IN MX
157
158;; ANSWER SECTION:
159intflex.ru. 21599 IN MX 10 mail.intflex.ru.
160
161;; Query time: 39 msec
162;; SERVER: 127.0.0.53#53(127.0.0.53)
163;; WHEN: Sun Oct 20 11:45:28 EEST 2019
164;; MSG SIZE rcvd: 60
165
166
167egor@braavos:~$ dig yandex.ru TXT
168
169; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> yandex.ru TXT
170;; global options: +cmd
171;; Got answer:
172;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15266
173;; flags: qr rd ra; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1
174
175;; OPT PSEUDOSECTION:
176; EDNS: version: 0, flags:; udp: 65494
177;; QUESTION SECTION:
178;yandex.ru. IN TXT
179
180;; ANSWER SECTION:
181yandex.ru. 1062 IN TXT "mailru-verification: 530c425b1458283e"
182yandex.ru. 1062 IN TXT "MS=ms75457885"
183yandex.ru. 1062 IN TXT "v=spf1 redirect=_spf.yandex.ru"
184yandex.ru. 1062 IN TXT "_globalsign-domain-verification=lD5-OgV_QE93G8rzNaeJKvtqe9tlP5AZtyDodrldYh"
185yandex.ru. 1062 IN TXT "google-site-verification=XyQDB5000-0rTv33yw7AX-EiuH1v5yW5PjkYeYxxPEg"
186yandex.ru. 1062 IN TXT "46f077cac06fcffe9d1ca3a280a8a179253998ea3d9afe7c190c97d5455f8788"
187yandex.ru. 1062 IN TXT "2e35680fa5ac784cf58deca180385b5eff74dfeb831c2d73830425e8a8deb7d5"
188yandex.ru. 1062 IN TXT "facebook-domain-verification=e750ewnqm68u4f83wvp6qp7iiphkj0"
189
190;; Query time: 85 msec
191;; SERVER: 127.0.0.53#53(127.0.0.53)
192;; WHEN: Sun Oct 20 11:45:55 EEST 2019
193;; MSG SIZE rcvd: 551
194
195########
196nslookup
197########
198
199egor@braavos:~$ nslookup -type=A intflex.ru
200Server: 127.0.0.53
201Address: 127.0.0.53#53
202
203Non-authoritative answer:
204Name: intflex.ru
205Address: 91.228.152.22
206
207
208egor@braavos:~$ nslookup -type=AAAA yandex.ru
209Server: 127.0.0.53
210Address: 127.0.0.53#53
211
212Non-authoritative answer:
213Name: yandex.ru
214Address: 2a02:6b8:a::a
215
216egor@braavos:~$ nslookup -type=TXT yandex.ru
217;; Truncated, retrying in TCP mode.
218Server: 127.0.0.53
219Address: 127.0.0.53#53
220
221Non-authoritative answer:
222yandex.ru text = "facebook-domain-verification=e750ewnqm68u4f83wvp6qp7iiphkj0"
223yandex.ru text = "2e35680fa5ac784cf58deca180385b5eff74dfeb831c2d73830425e8a8deb7d5"
224yandex.ru text = "46f077cac06fcffe9d1ca3a280a8a179253998ea3d9afe7c190c97d5455f8788"
225yandex.ru text = "google-site-verification=XyQDB5000-0rTv33yw7AX-EiuH1v5yW5PjkYeYxxPEg"
226yandex.ru text = "_globalsign-domain-verification=lD5-OgV_QE93G8rzNaeJKvtqe9tlP5AZtyDodrldYh"
227yandex.ru text = "v=spf1 redirect=_spf.yandex.ru"
228yandex.ru text = "MS=ms75457885"
229yandex.ru text = "mailru-verification: 530c425b1458283e"
230
231Authoritative answers can be found from:
232
233egor@braavos:~$ nslookup -type=MX intflex.ru
234Server: 127.0.0.53
235Address: 127.0.0.53#53
236
237Non-authoritative answer:
238intflex.ru mail exchanger = 10 mail.intflex.ru.
239
240Authoritative answers can be found from:
241
242egor@braavos:~$ nslookup -type=NS intflex.ru
243Server: 127.0.0.53
244Address: 127.0.0.53#53
245
246Non-authoritative answer:
247intflex.ru nameserver = ns1.fornex.com.
248intflex.ru nameserver = ns2.fornex.com.
249intflex.ru nameserver = ns3.fornex.com.
250intflex.ru nameserver = ns4.fornex.com.
251
252Authoritative answers can be found from:
253
254
255
256
257############
258явно указать днс
259############
260egor@braavos:~$ dig @8.8.8.8 intflex.ru
261
262; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> @8.8.8.8 intflex.ru
263; (1 server found)
264;; global options: +cmd
265;; Got answer:
266;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9968
267;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
268
269;; OPT PSEUDOSECTION:
270; EDNS: version: 0, flags:; udp: 512
271;; QUESTION SECTION:
272;intflex.ru. IN A
273
274;; ANSWER SECTION:
275intflex.ru. 16679 IN A 91.228.152.22
276
277;; Query time: 38 msec
278;; SERVER: 8.8.8.8#53(8.8.8.8)
279;; WHEN: Sun Oct 20 12:06:10 EEST 2019
280;; MSG SIZE rcvd: 55
281
282
283egor@braavos:~$ dig @1.0.0.1 intflex.ru
284
285; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> @1.0.0.1 intflex.ru
286; (1 server found)
287;; global options: +cmd
288;; Got answer:
289;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19403
290;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
291
292;; OPT PSEUDOSECTION:
293; EDNS: version: 0, flags:; udp: 1452
294;; QUESTION SECTION:
295;intflex.ru. IN A
296
297;; ANSWER SECTION:
298intflex.ru. 10769 IN A 91.228.152.22
299
300;; Query time: 8 msec
301;; SERVER: 1.0.0.1#53(1.0.0.1)
302;; WHEN: Sun Oct 20 12:07:13 EEST 2019
303;; MSG SIZE rcvd: 55
304
305
306
307egor@braavos:~$ dig @1.1.1.1 intflex.ru
308
309; <<>> DiG 9.11.3-1ubuntu1.9-Ubuntu <<>> @1.1.1.1 intflex.ru
310; (1 server found)
311;; global options: +cmd
312;; Got answer:
313;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48638
314;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
315
316;; OPT PSEUDOSECTION:
317; EDNS: version: 0, flags:; udp: 1452
318;; QUESTION SECTION:
319;intflex.ru. IN A
320
321;; ANSWER SECTION:
322intflex.ru. 21600 IN A 91.228.152.22
323
324;; Query time: 81 msec
325;; SERVER: 1.1.1.1#53(1.1.1.1)
326;; WHEN: Sun Oct 20 12:06:42 EEST 2019
327;; MSG SIZE rcvd: 55