I have a Windows 2008 R2 Enterprise machine (we'll say it's got the computer name set to 'MYSERVER') running the DNS server role - it's not in a domain (System shows it as in a work group called 'WORKGROUP').
I want it to show up in the DNS configuration as 'ns1.mydomain.com' instead of 'MYSERVER' - mydomain.com is an external 'normal' domain, it's not isolated to an intranet or behind a firewall or anything.
I first looked in the DNS configuration after adding the role, but didn't see anything there for changing the Name property.
I tried changing it via WMI, but that didn't work - the MSDN page for the MicrosoftDNS_Server class lists the Name property as readonly which I'm guessing is why the updates weren't taking effect.
Reinstalling the DNS role is fine if that's necessary (if it can't be changed once the role is installed/activated/running), but I don't see how to configure it during role install either.