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

Creating DNS Records for the Autodiscover Service

 

Topic Last Modified: 2012-10-05

To support autodiscovery for Lync Mobile users, you need to create the following Domain Name System (DNS) records:

  • An internal DNS record to support mobile users who connect from within your organization's network
  • An external, or public, DNS record to support mobile users who connect from the Internet

Or

  • An external, or public, DNS record to support mobile users who connect from the Internet

You must create an internal DNS record and an external DNS record for each SIP domain.

The DNS records can be either A (host) records or CNAME records. The following procedures describe how to create internal and external DNS records. For more details about the DNS requirements for mobile users, see Technical Requirements for Mobility.

  1. Log on to a DNS server as follows:

    • To create an internal DNS record, log on to a DNS server in your network as a member of the Domain Admins group or a member of the DnsAdmins group.
    • To create an external DNS record, connect to your public DNS provider.
  2. Open the DNS administrative snap-in: Click Start, click Administrative Tools, and then click DNS.

  3. Do one of the following:

    • For an internal DNS record, in the console tree of the DNS server, expand Forward Lookup Zones for your Active Directory domain (for example, contoso.local).
      noteNote:
      This domain is the Active Directory domain where your Lync Server 2013 Director pool and Front End pool are installed.
    • For an external DNS record, in the console tree of the DNS server, expand Forward Lookup Zones for your SIP domain (for example, contoso.com).
  4. Verify that a host A record exists for your Director pool as follows:

    • For an internal DNS record, a host A record should exist for the internal Web Services fully qualified domain name (FQDN) for your Director pool (for example, lyncwebdir01.contoso.local).
    • For an external DNS record, a host A record should exist for the external web services FQDN for your Director pool (for example, lyncwebextdir.contoso.com).
  5. Verify that a host A record exists for your Front End pool as follows:

    • For an internal DNS record, a host A record should exist for the internal Web Services FQDN for your Front End pool (for example, lyncwebpool01.contoso.local).
    • For an external DNS record, a host A record should exist for the external Web Services FQDN for your Front End pool (for example, lyncwebextpool01.contoso.com).
  6. For an internal DNS record, in the console tree of your DNS server, expand Forward Lookup Zones for your SIP domain (for example, contoso.com).

    noteNote:
    If you are creating an external DNS record, Forward Lookup Zones is already expanded for your SIP domain from step 3.
  7. Right-click the SIP domain name, and then click New Alias (CNAME).

  8. In Alias name, type one of the following:

    • For an internal DNS record, type lyncdiscoverinternal as the host name for the internal Autodiscover Service URL.
    • For an external DNS record, type lyncdiscover as the host name for the external Autodiscover Service URL.
  9. In Fully qualified domain name (FQDN) for target host, do one of the following:

    • For an internal DNS record, type or browse to the internal Web Services FQDN for your Director pool (for example, lyncwebdir01.contoso.local), and then click OK.
    • For an external DNS record, type or browse to the external Web Services FQDN for your Director pool (for example, lyncwebextdir.contoso.com), and then click OK.
    noteNote:
    If you do not use a Director, use the internal and external Web Services FQDN for the Front End pool, or, for a single server, the FQDN for the Front End Server or Standard Edition server.
    importantImportant:
    You must create a new Autodiscover CNAME record in the forward lookup zone of each SIP domain that you support in your Lync Server 2013 environment.
  1. Log on to a DNS server as follows:

    • To create an internal DNS record, log on to a DNS server in your network as a member of the Domain Admins group or a member of the DnsAdmins group.
    • To create an external DNS record, connect to your public DNS provider.
  2. Open the DNS administrative snap-in: Click Start, click Administrative Tools, and then click DNS.

  3. Do one of the following:

    • For an internal DNS record, in the console tree of the DNS server, expand Forward Lookup Zones for your Active Directory domain (for example, contoso.local).
      noteNote:
      This domain is the Active Directory domain where your Lync Server 2013 Director pool and Front End pool are installed.
    • For an external DNS record, in the console tree of the DNS server, expand Forward Lookup Zones for your SIP domain (for example, contoso.com).
  4. Verify that a host A (for IPv6, AAAA) record exists for your Director pool as follows:

    • For an internal DNS record, a host A (for IPv6, AAAA) record should exist for the internal Web Services FQDN for your Director pool (for example, lyncwebdir01.contoso.local).
    • For an external DNS record, a host A (for IPv6, AAAA) record should exist for the external Web Services FQDN for your Director pool (for example, lyncwebextdir.contoso.com).
  5. Verify that a host A (for IPv6, AAAA) record exists for your Front End pool as follows:

    • For an internal DNS record, a host A (for IPv6, AAAA) record should exist for the internal Web Services FQDN for your Front End pool (for example, lyncwebpool01.contoso.local).
    • For an external DNS record, a host A (for IPv6, AAAA) record should exist for the external Web Services FQDN for your Front End pool (for example, lyncwebextpool01.contoso.com).
  6. For an internal DNS record, in the console tree of your DNS server, expand Forward Lookup Zones for your SIP domain (for example, contoso.com).

    noteNote:
    If you are creating an external DNS record, Forward Lookup Zones is already expanded for your SIP domain from step 3.
  7. Right-click the SIP domain name, and then click New Host (A or AAAA).

  8. In Name, type the host name as follows:

    • For an internal DNS record, type lyncdiscoverinternal as the host name for the internal Autodiscover Service URL.
    • For an external DNS record, type lyncdiscover as the host name for the external Autodiscover Service URL.
    noteNote:
    The domain name is assumed from the zone in which the record is defined and, therefore, does not need to be entered as part of the A record.
  9. In IP Address, type the IP address as follows:

    • For an internal DNS record, type the internal Web Services IP address of the Director (or, if you use a load balancer, type the virtual IP (VIP) of the Director load balancer).
      noteNote:
      If you do not use a Director, type the IP address of the Front End Server or Standard Edition server, or, if you use a load balancer, type the VIP of the Front End pool load balancer.
    • For an external DNS record, type the external or public IP address of the reverse proxy.
  10. Click Add Host, and then click OK.

  11. To create an additional A record, repeat steps 8 through 10.

    importantImportant:
    You must create a new Autodiscover A record in the forward lookup zone of each SIP domain that you support in your Lync Server 2013 environment.
  12. When you are finished creating A (for IPv6, AAAA) records, click Done.

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.