[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

dnscmd switch question

I am running the following command via dnscmd in order to delete some A recods on a MS Windows DNS server.

dnscmd /recoddelete domain.com server1 A

Every time I run the command to delete a DNS entry I get the following question

Are you sure you want to delete record? y/n

Is there any way to default a "YES" as the anwser with some switch at the dnscmd command?

Thank you
0
llarava
Asked:
llarava
1 Solution
 
oBdACommented:
Simply add a /f ("force") to the command:
dnscmd /recoddelete domain.com server1 A /f
0

Featured Post

SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now