Assuming Windows, you can use CFExecute and DNSCMD.EXE from the Windows 
2000/20003 Support Tools.  For example, this code snippet creates a new 
zone:

<cfexecute name="C:\blah\blah\dnscmd.exe"
      arguments="DNSServerName /ZoneAdd #Domain# /Primary /file 
#Domain#.dns /a zonecontact.mydomain.com"
      timeout="10">
</cfexecute>

....and this one creates A records:

<cfexecute name="C:\blah\blah\dnscmd.exe"
      arguments="DNSServerName /RecordAdd #Domain# #Host# A #IPAddress#"
      timeout="10">
</cfexecute>

....where "Host" is "www", "ftp", etc.

I hope this is helpful.

Dave


Chad McCue wrote:

> Does anyone know of a good tag set that will allow me to create new DNS 
> settings on the server? I heard it can be done with some DNS servers in 
> ColdFusion.
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212333
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to