Export (0) Print
Expand All

Modify an existing resource record

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 modify an existing resource record in a zone. 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.

Modifying an existing resource record

To modify an existing resource record using the Windows interface
  1. Open the DNS snap-in.

  2. In the console tree, click the applicable zone.

  3. In the details pane, right-click the resource record that you want to modify, and then click Properties.

  4. In Properties, edit the properties that can be modified.

    If necessary, you can view and modify advanced resource record properties with the DNS snap-in. To display advanced properties, on the View menu, click Advanced.

  5. When you have finished modifying the record, click OK.

noteNote
When advanced view options are enabled, you can modify additional settings for an existing resource record, such as its record-specific Time to Live (TTL).

noteNote
To open the DNS snap-in, click Start, point to Administrative Tools, and then click DNS.

To modify an existing resource record using the command line
  • At a command prompt, type the following command, and then press ENTER:

    dnscmd ServerName/RecordAddZoneNameNodeName [/Aging] [/OpenAcl] [Ttl] RRTypeRRData

     

    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 (.).

     

    /RecordAdd

    Required. Adds a new 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.

     

    Resource record type Resource record data

    A

    IPAddress

    NS,CNAME,MB,MD,PTR,MF,MG,MR

    HostName|DomainName

    MX,RT,AFSDB

    Preference ServerName

    SRV

    Priority Weight Port HostName

    SOA

    PrimSvr Admin Serial#\ Refresh Retry Expire MinTTL

    AAAA

    Ipv6Address

    TXT,X25,HINFO,ISDN

    String [String]

    MINFO,RP

    MailboxName ErrMailboxName

    WKS

    Protocol IPAddress Service...

    WINS

    MapFlag LookupTimeout CacheTimeout IPAddress...

    WINSR

    MapFlag LookupTimeout CacheTimeout RstDomainName

     

    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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft