0

I want to offer a service that allows people to use their own domain. I want my dns server to return my server ip for any domain query so I don't have to setup every client's domain. How can I achieve this? What should the client do and what my dns server configuration should be? lets say bind, but I will probably write something custom with evldns.

Thanks.

1 Answers1

4

You are looking for wildcard DNS records.

See this question which is among these results. These will explain how to get names likes x.foobar.com, y.foobar.com, *.foobar.com to resolve to one IP address.

If instead you are looking for resolution of names like *.foo.com, *.bar.com, *.*.com to the same address then you will have to setup each individually with your registrar and then on your nameserver as well.

I suppose you could cobble up an evldns server that answers every external query with the same A record. At the moment I can't think of a reason why your server should not do so, but there has to be one.

Allen
  • 1,315