Http: // bi / It works! What is this domain name?

I just sealed the URL and a page appeared in the browser with the words "It works!"

How does DNS resolve these names? What are they?

~> curl http://bi/ <html><body><h1>It works!</h1></body></html> ~> nslookup bi Non-authoritative answer: Name: bi Address: 196.2.8.205 
+4
source share
4 answers

This is usually not done, but it looks like the bi NIC has entered the domain entry for the TLD itself. When you search for a PTR (reverse DNS) record at that IP address, you get the following:

 Non-authoritative answer: 205.8.2.196.in-addr.arpa name = ns.nic.bi. 

Typically, TLDs (top-level domains) should now have A records attached to them.

The DNS records for bi are as follows:

 ;; QUESTION SECTION: ;bi. IN ANY ;; ANSWER SECTION: bi. 38400 IN TXT "Check the website http://www.nic.bi" bi. 38400 IN TXT "Top-level Domain of the Republic of Burundi" bi. 38400 IN TXT "NIC Burundi" bi. 38400 IN TXT "Top-level Domain of .bi" bi. 38400 IN A 196.2.8.205 bi. 38400 IN SOA ns.nic.bi. registrar.nic.bi. 2011070201 21600 3600 
+4
source

A domain name consists of one or more parts separated by periods. The name bi has only one part and, therefore, does not need dots.

Domain names can have an A (Address) record associated with them. It seems that bi does, but, for example, uk does not.

+3
source

This is the top level code for Burundi. This is the same site as www.bi.

+2
source

A long time ago, in arpanet far, Mockapetris wrote the initial specification for DNS. As written, absolute names end in . , and relative names are not.

Well, this idea lasted about 25 seconds in the face of real people typing names. Instead, unqualified names are relative - unless they are tlds. In this case, they are not.

+2
source

All Articles