Live data from Hacker News

A Valid domain name without TLD on internet

news.ycombinator.com

1–10 of 11 posts

Re: A Valid domain name without TLD on internet

#4

Does any body know how is this a valid Domain name?

That's not a valid domain name:

$ dig good

; > DiG 9.8.3-P1 > good ;; global options: +cmd ;; Got answer: ;; ->>HEADER;; QUESTION SECTION: ;good. IN A

;; Query time: 3 msec ;; SERVER: 192.168.11.1#53(192.168.11.1) ;; WHEN: Mon Feb 19 12:13:28 2018 ;; MSG SIZE rcvd: 22

I works because most browsers try to add ".com" to an invalid domain name. And good.com is valid

$ dig good.com

; > DiG 9.8.3-P1 > good.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER;; QUESTION SECTION: ;good.com. IN A

;; ANSWER SECTION: good.com. 19030 IN A 216.136.156.80

;; Query time: 4 msec ;; SERVER: 192.168.11.1#53(192.168.11.1) ;; WHEN: Mon Feb 19 12:14:05 2018 ;; MSG SIZE rcvd: 42

And http://good.com redirects after some jumps to http://us.blackberry.com/

Re: A Valid domain name without TLD on internet

#5
post #4

Does any body know how is this a valid Domain name?

That's not a valid domain name: $ dig good ; > DiG 9.8.3-P1 > good ;; global options: +cmd ;; Got answer: ;; ->>HEADER ;; QUESTION SECTION: ;good. IN A ;; Query time: 3 msec ;; SERVER: 192.168.11.1#53(192.168.11.1) ;; WHEN: Mon Feb 19 12:13:28 2018 ;; MSG SIZE rcvd: 22 I works because most browsers try to add ".com" to an invalid domain name. And good.com is valid $ dig good.com ; > DiG 9.8.3-P1 > good.com ;; global…

Try opening the URL in your browser it's working. Or use $host good to find the Ip address of the server

Re: A Valid domain name without TLD on internet

#6
post #4

Earlier quoted context omitted.

That's not a valid domain name: $ dig good ; > DiG 9.8.3-P1 > good ;; global options: +cmd ;; Got answer: ;; ->>HEADER ;; QUESTION SECTION: ;good. IN A ;; Query time: 3 msec ;; SERVER: 192.168.11.1#53(192.168.11.1) ;; WHEN: Mon Feb 19 12:13:28 2018 ;; MSG SIZE rcvd: 22 I works because most browsers try to add ".com" to an invalid domain name. And good.com is valid $ dig good.com ; > DiG 9.8.3-P1 > good.com ;; global…

Try opening the URL in your browser it's working. Or use $host good to find the Ip address of the server

> Try opening the URL in your browser it's working.

As the parent said, browsers try to fix bad domains by themselves.

> $host good to find the Ip address of the server

NXDOMAIN. if you get something else, your DNS provider is injecting something.

Re: A Valid domain name without TLD on internet

#9
post #7

Earlier quoted context omitted.

As far as I can tell there is no .good gTLD.

I'm not talking about gTLDs. TLD is a term with multiple meanings.

Ah, misunderstood your point. If there were a .good TLD, then that could be an explanation for why it works.
Post reply on HN