Export (0) Print
Expand All
0 out of 2 rated this helpful - Rate this topic

Add a GlobalNames Zone Service Location (SRV) Resource Record to a Forest

Updated: May 9, 2008

Applies To: Windows Server 2008

When you deploy a GlobalNames zone to provide single-label name resolution by Domain Name Service (DNS) clients in multiple forests, you create the zone in one forest and then add service (SRV) resource records to the remaining forests. This makes it possible for DNS servers in the zones that do not host the GlobalNames zone to locate and query DNS servers that host the GlobalNames zone. See Providing Single-Label DNS Name Resolution for information about deploying a GlobalNames zone.

You can use this procedure to add service (SRV) resource records to the necessary zones. You can complete this procedure using either the DNS Manager snap-in or the dnscmd command-line tool.

Membership in Enterprise Admins, or equivalent, is the minimum required to complete this procedure. Review details about using the appropriate accounts and group memberships at Local and Domain Default Groups (http://go.microsoft.com/fwlink/?LinkId=83477).

  1. Open DNS Manager. To open DNS Manager, click Start, point to Administrative Tools, and then click DNS.

  2. In the console tree, right-click the zone that is replicated across the forest, and then click New Domain.

  3. Type the name of the root domain of the forest, and then click OK.

  4. Expand the domain that you created, right-click the last node, and then click Other New Records.

  5. In the Select a resource type list, click Service Location (SRV), and then click Create Record.

  6. In Service, type _globalnames, and then in Protocol, type _msdcs.

  7. In Host offering this service, type the fully qualified domain name (FQDN) of the server that hosts the GlobalNames zone, and then click OK.

  1. Open a command prompt. To open an elevated Command Prompt window, click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. At the command prompt, type the following command, and then press ENTER:

    dnscmd <ServerName> /RecordAdd <ZoneName> _globalnames._msdcs.<ForestName> [/Aging] [<Ttl>] SRV 0 0 0 <GNZServerName>
    

 

Parameter Description

dsncmd

The command-line tool for managing DNS servers.

<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 FQDN of the zone in which you will add the new service (SRV) resource record. Add the service (SRV) resource record to the zone that corresponds to the forest application partition.

_globalnames._msdcs.<ForestName>

Required. Specifies the service name, protocol, and forest name for the service (SRV) resource record. <ForestName> is the FQDN of the root domain name of the forest that corresponds to <ZoneName>.

/Aging

Specifies that this resource record is able to be aged and scavenged. If this parameter is used, this resource record is able to be aged and scavenged. If this parameter is not used, the resource record remains in the DNS database unless it is manually updated or removed.

<Ttl>

Specifies the Time to Live (TTL) setting for the resource record.

SRV

Required. Specifies the service (SRV) resource record type for the resource record that you are adding.

0 0 0

Required. Specifies values for priority, weight, and port settings in the service (SRV) resource record, which are all set to zero (0) for this service.

<GNZServerName>

Required. Specifies the FQDN for the server that hosts the GlobalNames zone. The value entered here must resolve to a corresponding host (A or AAAA) resource record in a zone.

To view the complete syntax for this command, at a command prompt, type the following command, and then press ENTER:

dnscmd /RecordAdd /help 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.