Not the leftmost wildcard in a DNS record?

Hypothetical situation:

Let's say I was running a hosting company where I had subdomains for people. You can sign up and give me a few dollars a month and I'll give you your name .mycompany.com.

Now, let's say I need mail. *. mycompany.com to point to one server and www. *. mycompany.com to point to another.

Is it possible? RFC doesn't seem to think, Wikipedia doesn't seem to think, but what makes the DNS server have enough logic to return the correct thing

And if so, are there any DNS hosting providers that will do this for me, so I don't have to run my own DNS?

+1


source to share


3 answers


My solution to this particular problem was to run my own DNS, and when the client was added programmatically, add entries to the dns, which also allowed me to determine which of the WWW servers was the least used and distribute the client correctly.



+1


source


You can create your own DNS that uses an inappropriate internal storage engine, but you still need to speak the same protocol as the rest of the servers. Also, you usually want a non-local backup server that your DNS server will surely not want to accept, and you still have to generate full names for all subscription companies in a standard format.



+1


source


You need to write your own DNS server to support this AFAIK. Nothing prevents you from doing this. Easy to respond to DNS queries, but you would like to!

There is no hosting company I know of supporting wildcard DNS login in the middle.

+1


source







All Articles