Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
You can use the following procedure to delete a resource record from a zone. Pointer (PTR) resource records are deleted automatically if the corresponding address (A) resource record is deleted.
You can perform this procedure by using the DNS snap-in or by using the Dnscmd command-line tool.
Administrative credentials
To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using the Run as command to perform this procedure.
Using the Windows interface
Using the command line
To delete a resource record using the Windows interface
Open the DNS snap-in.
In the console tree, click the applicable zone.
In the details pane, right-click the resource record that you want to delete, and then click Delete.
When you are asked to confirm that you want to delete the selected resource record, click OK.
Note
To open the DNS snap-in, click Start, point to Administrative Tools, and then click DNS.
To delete a resource record using the command line
At a command prompt, type the following command, and then press ENTER:
dnscmd ServerName /RecordDelete ZoneName NodeName RRType RRData [/f]
Value | Description |
---|---|
ServerName |
Required. Specifies the Domain Name System (DNS) host name of the DNS server. You can also type the Internet Protocol (IP) address of the DNS server. To specify the DNS server on the local computer, you can also type a period (.). |
/RecordDelete |
Required. Deletes a resource record. |
ZoneName |
Required. Specifies the fully qualified domain name (FQDN) of the zone. |
NodeName |
Required. Specifies the FQDN of the node in the DNS namespace. You can also type the node name relative to the ZoneName or @, which specifies the zone's root node. |
RRType RRData |
Required. Specifies the type of resource record to add, followed by the data to be contained in the resource record. |
|
Value | Description |
---|---|
IPAddress |
Specifies a standard IP address, for example, 255.255.255.255. |
ipv6Address |
Specifies a standard IPv6 address, for example, 1:2:3:4:5:6:7:8. |
Protocol |
Specifies the transmission protocol: UDP or TCP. |
Service |
Specifies a standard service, for example, domain, smtp. |
HostName|DomainName |
Specifies the FQDN of a resource record that is located in the DNS namespace. |
/f |
Specifies that the command is executed without asking for confirmation. If you omit this parameter, you are prompted to confirm the deletion of the resource record. |