You don't say what DNS server you are actually using. Assuming it is either Microsoft DNS or BIND, then these support DDNS (Dynamic DNS updates) - where by clients can register/update DNS records. That would provide you with some documented way of dynamically adding/changing DNS records. Configure a requirement for secure updates or limit the interface on which DDNS updates can be received, otherwise you can opening yourself up to potential mischief. Cheers Ken > -----Original Message----- > From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] > On Behalf Of Arthur Maloney > Sent: Sunday, 19 October 2008 6:08 PM > To: thelist at lists.evolt.org > Subject: [thelist] DNS MS Servers > > Hello Thelist, > > Any though's/ recommendations > > I've inherited adding/Editing .dns files to primary & secondary DNS servers. > > Its a manual process using templates stored in the samples folder. I open a > template edit and save it. > > I'm trying to do this with code ideally C# reading domain info from a database > (OK with all of that) > > It appears if I dynamically build .dns and save it to the file system I then > have to update the registry and restart the DNS service. > > Writing to the registry seems messy. Typically I have 200-300 web sites > operational so I'm not keen on restarting the DNS service. > > Any suggestions would be appreciated.