Answer the question
In order to leave comments, you need to log in
Why don't DNS root servers want to talk to me?
Greetings:
Here is an excerpt from wikipedia:
Suppose we typed in the browser the address ru.wikipedia.org. The browser asks the DNS server: "what is the IP address of ru.wikipedia.org"? However, the DNS server may not only know nothing about the requested name, but even about the entire wikipedia.org domain. In this case, the server contacts the root server - for example, 198.41.0.4. This server says - "I have no information about this address, but I know that 204.74.112.1 is responsible for the org zone." Then the DNS server sends its request to 204.74.112.1, but it replies "I have no information about this server, but I know that 207.142.131.234 is responsible for the wikipedia.org zone." Finally, the same request is sent to the third DNS server and receives a response - an IP address, which is transmitted to the client - the browser.
When I try the root server responsible for the zone ru. find out the server responsible, for example, for google.ru, it is silent:
> host -t ns ru. f.root-servers.net.
Using domain server:
Name: f.root-servers.net.
Address: 192.5.5.241#53
Aliases:
ru has no NS record
> host -t ns soa. f.root-servers.net.
Using domain server:
Name: f.root-servers.net.
Address: 192.5.5.241#53
Aliases:
Host soa. not found: 3(NXDOMAIN)
What am I doing wrong?
DNS servers, when doing recursive requests, are treated differently?
Answer the question
In order to leave comments, you need to log in
Yes, DNS does recursive queries.
For some reason, the host utility does not work if the dns server is forcibly specified.
Try dig
It works through dig and nslookup, it doesn't work through host either (freebsd9).
mail# nslookup
> server f.root-servers.net
Default server: f.root-servers.net
Address: 192.5.5.241#53
Default server: f.root-servers.net
Address: 2001:500:2f::f#53
> set q=ns
> ru.
Server: f.root-servers.net
Address: 192.5.5.241#53
Non-authoritative answer:
*** Can't find ru.: No answer
Authoritative answers can be found from:
ru nameserver = e.dns.ripn.net.
ru nameserver = a.dns.ripn.net.
ru nameserver = d.dns.ripn.net.
ru nameserver = b.dns.ripn.net.
ru nameserver = f.dns.ripn.net.
a.dns.ripn.net internet address = 193.232.128.6
b.dns.ripn.net internet address = 194.85.252.62
d.dns.ripn.net internet address = 194.190.124.17
e.dns.ripn.net internet address = 193.232.142.17
f.dns.ripn.net internet address = 193.232.156.17
a.dns.ripn.net has AAAA address 2001:678:17:0:193:232:128:6
b.dns.ripn.net has AAAA address 2001:678:16:0:194:85:252:62
d.dns.ripn.net has AAAA address 2001:678:18:0:194:190:124:17
e.dns.ripn.net has AAAA address 2001:678:15:0:193:232:142:17
f.dns.ripn.net has AAAA address 2001:678:14:0:193:232:156:17
mail# host -v -t ns ru. f.root-servers.net
Trying "ru"
Using domain server:
Name: f.root-servers.net
Address: 192.5.5.241#53
Aliases:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 435
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 5, ADDITIONAL: 10
;; QUESTION SECTION:
;ru. IN NS
;; AUTHORITY SECTION:
ru. 172800 IN NS f.dns.ripn.net.
ru. 172800 IN NS a.dns.ripn.net.
ru. 172800 IN NS e.dns.ripn.net.
ru. 172800 IN NS d.dns.ripn.net.
ru. 172800 IN NS b.dns.ripn.net.
;; ADDITIONAL SECTION:
a.dns.ripn.net. 172800 IN A 193.232.128.6
b.dns.ripn.net. 172800 IN A 194.85.252.62
d.dns.ripn.net. 172800 IN A 194.190.124.17
e.dns.ripn.net. 172800 IN A 193.232.142.17
f.dns.ripn.net. 172800 IN A 193.232.156.17
a.dns.ripn.net. 172800 IN AAAA 2001:678:17:0:193:232:128:6
b.dns.ripn.net. 172800 IN AAAA 2001:678:16:0:194:85:252:62
d.dns.ripn.net. 172800 IN AAAA 2001:678:18:0:194:190:124:17
e.dns.ripn.net. 172800 IN AAAA 2001:678:15:0:193:232:142:17
f.dns.ripn.net. 172800 IN AAAA 2001:678:14:0:193:232:156:17
Received 332 bytes from 192.5.5.241#53 in 64 ms
mail#
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question