13.7. Creating and Deleting Resource Records
You want to create and delete resource records.
Using a graphical user interface
Open the DNS Management snap-in.
If an entry for the DNS server you want to connect to does not exist, right-click on DNS in the left pane and select Connect to DNS Server. Select This computer or The following computer, enter the server you want to connect to (if applicable), and click OK.
If you want to add or delete a record in a forward zone, expand the Forward Lookup Zone folder. If you want to add or delete a record for a reverse zone, expand the Reverse Lookup Zone folder.
To create a resource record, do the following:
In the left pane, right-click the zone and select the option that corresponds to the record type you want to create—e.g., New Host (A).
Fill in all required fields.
To delete a resource record, do the following:
In the left pane, click on the zone the record is in.
In the right pane, right-click on the record you want to delete and select Delete.
Click Yes to confirm.
Using a command-line interface
To add a resource record, use the following command:
> dnscmd <
DNSServerName> /recordadd <
The following command adds an A record in the rallencorp.com zone:
> dnscmd dc1 /recordadd rallencorp.com wins01 A 18.104.22.168.25
To delete a resource record, use the following command:
> dnscmd <
DNSServerName> /recorddelete <
The following command deletes an A ...