November 2019

S M T W T F S
      12
34 5 678 9
10111213141516
17181920212223
24252627282930

Style Credit

Expand Cut Tags

No cut tags
Sunday, December 5th, 2004 09:36 pm
Что неправильно в голове у этого мудрого хостера?

$ dig -t ns WISEHOSTER.COM. @67.18.206.106

; <<>> DiG 9.2.4 <<>> -t ns WISEHOSTER.COM. @67.18.206.106
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58759
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;WISEHOSTER.COM.                        IN      NS

;; ANSWER SECTION:
WISEHOSTER.COM.         14400   IN      NS      ns2.WISEHOSTER.COM.
WISEHOSTER.COM.         14400   IN      NS      ns1.WISEHOSTER.COM.
Sunday, December 5th, 2004 01:01 pm (UTC)
Ну на практике запросов типа NS, как в твоем примере, никто не задает, задается запрос A, и то только если не пришел glue из старшей зоны. Впрочем, на запрос ns1.wisehoster.com A оно отвечает NXDOMAIN, в этом всё и дело.
Sunday, December 5th, 2004 10:34 pm (UTC)
Ну да, но криворукость если есть, то обычно во всём. Найдите два (три, четыре) отличия:
$ dig -t ns wisehost.ru. @ns.ripn.net.

;; QUESTION SECTION:
;wisehost.ru.                   IN      NS

;; ANSWER SECTION:
wisehost.ru.            345600  IN      NS      ns2.wisehost.ru.
wisehost.ru.            345600  IN      NS      ns3.wisehost.ru.
wisehost.ru.            345600  IN      NS      ns4.wisehost.ru.
wisehost.ru.            345600  IN      NS      ns1.wisehost.ru.

;; ADDITIONAL SECTION:
ns2.wisehost.ru.        345600  IN      A       81.176.64.157
ns3.wisehost.ru.        345600  IN      A       67.18.206.106
ns4.wisehost.ru.        345600  IN      A       70.85.0.177
ns1.wisehost.ru.        345600  IN      A       195.161.118.246


$ dig ns1.wisehost.ru. @195.161.118.246

; <<>> DiG 9.2.4 <<>> ns1.wisehost.ru. @195.161.118.246
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1511
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;ns1.wisehost.ru.               IN      A

;; ANSWER SECTION:
ns1.wisehost.ru.        14273   IN      A       67.18.206.106

;; AUTHORITY SECTION:
wisehost.ru.            14359   IN      NS      ns4.wisehost.ru.
wisehost.ru.            14359   IN      NS      ns3.wisehost.ru.

;; ADDITIONAL SECTION:
ns3.wisehost.ru.        14281   IN      A       67.18.206.106
ns4.wisehost.ru.        14359   IN      A       70.85.0.177


$ dig ns2.wisehost.ru. @81.176.64.157  

; <<>> DiG 9.2.4 <<>> ns2.wisehost.ru. @81.176.64.157
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28727
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;ns2.wisehost.ru.               IN      A

;; ANSWER SECTION:
ns2.wisehost.ru.        14117   IN      A       70.85.0.177

;; AUTHORITY SECTION:
wisehost.ru.            14126   IN      NS      ns3.wisehost.ru.
wisehost.ru.            14126   IN      NS      ns4.wisehost.ru.

;; ADDITIONAL SECTION:
ns3.wisehost.ru.        14048   IN      A       67.18.206.106
ns4.wisehost.ru.        14126   IN      A       70.85.0.177