Displaying articles with tag

DNS Catch-all for OpenID

Posted by hardwarehank, Tue Feb 20 20:25:47 UTC 2007

We were trying to get our OpenID server working today, and we found that we needed to make a catch-all DNS entry to do it. That way, things like hank.myopenid.url would work. Here’s one way to do it:


*.yourdomain.com. IN A 111.111.111.111

But, we ended up using a CNAME instead:


UPDATE ADD *.yourdomain.com. 86400 IN CNAME yourdomain.com

Then in your Apache virtual hosts directive add a wildcard alias like this


ServerAlias *.yourdomain.com

Incredible.

Tags: