People; i want to refresh DNS Server (or not; i donīt know); because
i have change an IP address on a dns file (fefo.com.ar.dns) on the
WINNT/SYSTEM32/DNS FOLDER that exists in a Server 2000, but the Server
didnīt refresh that IP.
So, I change the IP on the file (fefo.com.ar.dns) with an ASP page;
then i want to ping the DNS (fefo.com.ar) from a PC on the Net and i
donīt obtain the new IP, instead of that i obtain the old IP,
therefore i run a command "net stop dns" and then "net start dns" to
refresh de DNS list in the command prompt; and then i obtain the new
IP. Now i do this on a *.bat file, so i can run inside the ASP PAGE
(using wscript.shell); but the program doesnīt work or it work, but
the DNS SERVER donīt restart at all (i donīt know what's going on)...
So my question is, what iīm doing bad?... I need to restart the DNS
Server with "net stop dns" (/star) command or another command do
that?... or is there another solution for this?
Thank you, and I hope you can understand me; because my english is too
bad
Pepe
from Argentina.
|