Resource: Windows 2000 Server Resource kit TCP/IP Core Networking Guide  

DNS > To add a host (A) resource record to a zone.

To add a host (A) resource record to a zone.
 

برای اضافه کردن یک A Resource Record باید مراحل زیر را انجام داد .گزینه 5 زمانی می توان استفاده کرد .که از PTR رکورد در شبکه استفاده

 می شود در Domain فردی که عضو گروه Domain Admins باشد می تواند این رکورد را ایجاد کند در DNS و یا Edit  کند .

  1. To open DNS, click Start, point to Settings, click Control Panel, double-click Administrative Tools, and then double-click DNS.
  2. In the console tree, right-click the applicable forward lookup zone and click New Host.
  3. In the Name text box, type the DNS computer name for the new host.
  4. In the IP address text box, type the IP address for the new host.
  5. As an option, select the Create associated pointer (PTR) record check box to create an additional pointer record in a reverse zone for this host, based on the information you entered in Name and IP address.
  6. Click Add Host to add the new host record to the zone.

Host1         IN        A      192.168.1.254

در A Record بالا سیستمی با نام Host1 وجود دارد که  IP 192.168.1.254 به آن داده شده .

Name-to-IP Address  Mappings

Using a Command Line (DNSCMD.exe)

راه دوم برای اضافه کردن یک رکورد در DNS استفاده از Dnscmd.exe می باشد . قبل از استفاده باید Windows Support tools را نصب

کرد . سپس از این Command  استفاده کرد .

  1. First Iinstall Windows Support Tools then Open Command Prompt.
  2. Type: dnscmd ServerName /RecordAdd ZoneName NodeName [/Aging] [/OpenAcl] [Ttl] A IPAddress
    Value Description
    dnscmd Specifies the name of the command-line program.
    ServerName Required. Specifies the DNS host name of the DNS server. You can also type the 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.
    /Aging Specifies that this resource record is able to be aged and scavenged. If this command is not used, the resource record remains in the DNS database unless it is manually updated or removed.
    /OpenAcl Specifies that new records are open to modification by any user. Without this parameter, only administrators may modify the new record.
    Ttl Specifies the Time-To-Live (TTL) setting for the resource record. (The default TTL is defined in SOA resource record).
    A Required. Specifies the resource record type of the record you are adding.
    IPAddress Required. The IP address for the host.
  • To view the complete syntax for this command, at a command prompt, type:

    dnscmd /RecordAdd /help

  • PTR resource records are deleted automatically if the corresponding A resource record is deleted.

Last Updated: October 01, 2006

Winteacher.com
DNS > To add a host (A) resource record to a zone.

 © 2003-2006 Winteacher.com . All rights reserved