News for hackers. Stuff that matters.
Re:Show HN: A url-based API for images (my weekend project) by TazeTSchnitzel on Sunday April 28, 2013 @08:46AM (#5621045)
Well, thing is hostnames are supposed to only contain letters, digits and hyphens, although other DNS names can contain underscores. So it shouldn't work. You should be able to have a TEXT record with an underscore, but really shouldn't be able to have an A or AAAA record.
Re:Show HN: A url-based API for images (my weekend project) by imechura on Sunday April 28, 2013 @09:04PM (#5623568)
In this case optimus_prime is a sub domain. The actual DNS entry is likely *.jpg.to so DNS does not have to know how to resolve the URI section with underscore.
Re:Show HN: A url-based API for images (my weekend project) by TazeTSchnitzel on Monday April 29, 2013 @12:06PM (#5627011)
I'm not sure wildcard entries are actually a feature of DNS, I thought they were something done server-side by the DNS server.