I am working on a webapp that we acquired from another company. When you "sign up", the server is supposed to create a DNS alias using WMI. It was crashing with a "Generic Error", which was later cured by adding the following tag to the Web.config file:
identity impersonate="true" userName="administrator" password="theadminpass"
This worked, but for some reason it has since broken, and obviously I don't like it from a security perspective. I have used the WMI management tool to give root\microsoftdns full wide-open permissions to admin, network service, network, and aspnet, with no success.
Anyways, I want to know if there is a way other than using WMI to reliably and securely add DNS records from within a .NET web interface.