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:

Comments

  • no avatar available for Aníbal Rojas Aníbal Rojas
    February 21, 2007 @ 06:34 AM
    As I understand the problem is not the OpenID server but the security for cookies, I think that if you were using path like myopenid.url/hank there should be no problem. What was the problem you were facing? (nice DNS tip)
  • no avatar available for James James
    December 28, 2007 @ 09:15 AM

    Adult Dating With Real People. Free Registration.

Have your say

A name is required. You may use Markdown in your comments.