Live data from Hacker News

Ask HN: Why doesn't nasa.gov get its url to work?

news.ycombinator.com

1–10 of 10 posts

Re: Ask HN: Why doesn't nasa.gov get its url to work?

#3
Although a smaller scale, the Australian Bureau of Meteorology has the same problem. bom.gov.au doesn't resolve to anything.

For what it's worth, Firefox will change nasa.gov to www.nasa.gov.au but won't do the same for bom.gov.au. Internet Explorer won't do this at all.

Re: Ask HN: Why doesn't nasa.gov get its url to work?

#6
They don't have an A record for nasa.gov. For those who don't have dig (or don't care enough to do an actual DNS request and would rather trust some other, lesser tool):

  $ dig nasa.gov

  ; > DiG 9.6.1-P2-RedHat-9.6.1-7.P2.fc11 > nasa.gov
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER
No A records.

  $ dig www.nasa.gov

  ; > DiG 9.6.1-P2-RedHat-9.6.1-7.P2.fc11 > www.nasa.gov
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER
Looks like the whole site is served through Akamai too.

What's a "direct @ url" ? Now we're overloading the @ for something else too?

Re: Ask HN: Why doesn't nasa.gov get its url to work?

#8
By saying that it's not working, you assume that a raw domain.com is "broken" if it doesn't resolve to an address which is presumably the same as www.domain.com, which is pretty much baseless. There's no technical reason for a bare domain to resolve to anything, it's just a popular convention to make it redirect to www.domain.com because most people who type that into a browser expect your web site to come up.

Why not just add a CNAME for convenience? Who knows. They may have an internal technical reason, or it may just be a case of "don't do something unnecessary just because it's easy". For what it's worth, government agencies have a pretty good variety - army.mil and navy.mil both have the same behavior as nasa.gov, whitehouse.gov and justice.gov both have redirects to the "canonical" www url and house.gov and senate.gov both serve the same content as their www versions without a redirect either way.

Regardless of their particular reason, I see no cause to assume that it's due to laziness, funding level or how "high-tech" they are. It's just a convention that they don't use, but you expect.

Re: Ask HN: Why doesn't nasa.gov get its url to work?

#9
post #6

They don't have an A record for nasa.gov. For those who don't have dig (or don't care enough to do an actual DNS request and would rather trust some other, lesser tool): $ dig nasa.gov ; > DiG 9.6.1-P2-RedHat-9.6.1-7.P2.fc11 > nasa.gov ;; global options: +cmd ;; Got answer: ;; ->>HEADER No A records. $ dig www.nasa.gov ; > DiG 9.6.1-P2-RedHat-9.6.1-7.P2.fc11 > www.nasa.gov ;; global options: +cmd ;; Got answer: ;; ->…

@ in a BIND zone file refers to the domain defined at the top of the file.

It's been awhile since I've written one, so go look at Wikipedia:

http://en.wikipedia.org/wiki/Zone_file

Re: Ask HN: Why doesn't nasa.gov get its url to work?

#10
post #8

By saying that it's not working, you assume that a raw domain.com is "broken" if it doesn't resolve to an address which is presumably the same as www.domain.com, which is pretty much baseless. There's no technical reason for a bare domain to resolve to anything, it's just a popular convention to make it redirect to www.domain.com because most people who type that into a browser expect your web site to come up. Why no…

It is "broken." You're right that "it's just a convention that they don't use, but you expect." But it's a convention that must prevent a handful of people from accessing their website each day, or at least causing them to Google "NASA" in confusion. There's no valid technical reason for doing this. It's a serious usability/findability fail.