Networking Forums

Networking Forums > Computer Networking > Windows Networking > Updating DNS records using dnscmd

Reply
Thread Tools Display Modes

Updating DNS records using dnscmd

 
 
kawahee@gmail.com
Guest
Posts: n/a

 
      11-23-2005, 11:15 AM
Hey all,
I've recently had to deal with a dynamic ip in regards to our DNS
servers, and the DHCP-auto update thing doesn't work quite the way we
need it to, so I've been tasked with writing a program to update the
host record xyz in zone ijk. I've looked around and it seems that after
I get the IP I want, to use a series of commands from dnscmd. It all
goes something like this:
Pause Zone
Write .dns file
Resume Zone
Force reload of .dns file
That requires three executions of dnscmd within my code, which is
acceptable, but I'm looking for a way to do something like
dnscmd locahost /ZoneUpdate /zone kyve.net /record @ /type host /value
this.is.the.ip
But it doesn't seem to have that feature. Is there a really obvious
option that I'm missing?
-- Todd

 
Reply With Quote
 
 
 
 
FabrizioV
Guest
Posts: n/a

 
      11-28-2005, 07:27 AM
Hi Todd.
Have you already tried the DnsUpdateProxy option ?
http://www.microsoft.com/technet/pro...25ae150ec.mspx

In your place I would prefer a native solution before scripting.

--
Fabrizio Volpe
MCSE 2003/2000/NT
MCT
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP not updating DNS when renewing records modo Windows Networking 1 12-20-2007 10:18 PM
How to troubleshoot DHCP updating DNS records Sandy Wood Windows Networking 0 05-18-2007 09:15 PM
SRV records Blake Windows Networking 10 07-27-2005 06:26 PM
Desktops are no longer autmatically updating DNS records Fredrick A. Zilz Windows Networking 1 07-11-2005 05:19 PM
DHCPD not updating DNS Records for Linux Clients Dirk Sachse Linux Networking 5 02-19-2004 01:21 PM



1 2 3 4 5 6 7 8 9 10 11