If you can use BIND for Win32, life is infinitely simpler. Just read and write text files. The server has a master configuration file, plus one file per zone. Once changes are made, use cfexecute to run a command-line program that controls the DNS server. You can reload a single zone, reload all zones, check the server's status, etc.
Win32 binaries of versions 8.3.0 and 9.2.0 can be found at ftp://ftp.isc.org/isc/bind/contrib/ for anyone interested. Jim ----- Original Message ----- From: "Neil H." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, January 31, 2002 6:48 PM Subject: Re: scripting windows 2000 dns > Yeah we use the CFexecute with the DNS provider. It works beautifully > > Neil > > ----- Original Message ----- > From: "Jon Hall" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, January 31, 2002 3:37 PM > Subject: Re: scripting windows 2000 dns > > > > In addition to cfexecute, you could just use cfobject to interact with the > > DNS provider object. I can't say it would be easy though. You are going to > > have to rely on the docs if you don't know vbs pretty well. I know a > little, > > but that code is nasty :) > > > > The other possibility if you need to use CF, is just to figure out how to > > recreate the zone files in CF, write them out, create the registry > entries, > > then restart the DNS server. The zone files themselves are just plain > > text... > > > > jon > > ----- Original Message ----- > > From: "Bernd VanSkiver" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, January 31, 2002 2:35 PM > > Subject: scripting windows 2000 dns > > > > > > > I am trying to use WMI to manage DNS entries in a Windows 2000 DNS > server. > > > I have some VBS files that I can do this with from the command prompt, > but > > > am not sure how to run them with ColdFusion. Here is a link to the > > article > > > I am looking at for instructions on how to accomplish this task: > > > http://www.iisfaq.com/Articles/319/. Just trying to automatially > create, > > > modify, and delete dns entries with ColdFusion, if anyone knows of a > > better > > > way to do this then using the VBS files I mentioned then please let me > > know. > > > > > > Bernd VanSkiver > > > [EMAIL PROTECTED] > > > ColdFusion Developer ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

