I have a domain and a web-app written in PHP running on Ubuntu 12.04. When a user registers, I would like to give that user a unique subdomain which needs to resolve to an IP independently of the website (meaning I can't just do a redirect with a wildcarded subdomain).
I'm guessing I need to run a local nameserver to make this possible. Could anyone recommend some nameserver software that would allow me to achieve this?
Thanks.