AZ-140 ep02 | Configure Active Directory | Azure AD DNS

Azure Academy
9 Feb 202109:07

Summary

TLDRIn episode 2 of the AZ-140 study guide, Dean Sefola delves into planning and configuring name resolution for Active Directory and Azure Active Directory Domain Services. He explains the role of DNS in translating names into IP addresses, crucial for domain-joined systems in Azure. Dean guides viewers on setting custom DNS for virtual networks in Azure and highlights the importance of conditional forwarders for resolving non-internet registered DNS suffixes. The episode also covers integrating on-premises DNS with Azure through VPN or Express Route and setting up internet domain name resolution for remote clients, ensuring seamless access to Azure services.

Takeaways

  • ๐Ÿ˜€ Name resolution is crucial for Active Directory and Azure Active Directory Domain Services, as it translates names into IP addresses for easier access.
  • ๐Ÿ” DNS (Domain Name System) is the backbone of name resolution, allowing users to access websites and services using names instead of IP addresses.
  • ๐Ÿ“ Computers understand IP addresses, but DNS makes it easier for users to remember and access resources by translating names into IP addresses and vice versa.
  • ๐Ÿค Domain-joined Windows clients register their IP addresses with the domain controller using secure dynamic DNS, maintaining a trust relationship within the domain.
  • ๐ŸŒ In Azure, the default DNS server for VMs is provided by DHCP scope, but for WBD (Windows-based Desktop), custom DNS is required for domain-joined systems.
  • ๐Ÿ”— Configuring custom DNS in Azure involves setting specific IP addresses that the Azure DHCP scope will push to all hosts in the virtual network.
  • ๐ŸŒ For on-premises DNS servers, connectivity to Azure, such as through VPN or Express Route, is necessary to enable name resolution from Azure to on-premises.
  • ๐Ÿ’ป Having a domain controller in the cloud is a best practice for minimizing latency in name resolution and authentication processes.
  • ๐Ÿ”„ Conditional forwarders in DNS are used when a DNS server cannot resolve certain domain suffixes, directing the request to another server that can complete the resolution.
  • ๐Ÿ”‘ Azure Active Directory Domain Services (Azure ADDS) simplifies DNS configuration by providing a 'Configure DNS' button to automatically set up custom DNS for the virtual network.
  • ๐ŸŒ Internet domain name resolution is achieved by registering a domain name and configuring DNS records to ensure that external clients can access the service.

Q & A

  • What is the primary function of DNS in the context of the video?

    -DNS, or Domain Name System, is responsible for translating domain names into IP addresses and vice versa, making it easier for users to access websites and services like Windows Virtual Desktop (WVD).

  • Why is DNS important for Active Directory Domain Services in Azure?

    -DNS is crucial for Active Directory Domain Services in Azure because it allows domain-joined WVD session hosts to register their IP addresses with the domain controller and maintain the trust relationship necessary for name resolution.

  • What does the default DNS server address provided by Azure to VMs represent?

    -The default DNS server address provided by Azure (168.6.x.x) is derived from the DHCP scope that assigns IP addresses to VMs, and it represents Azure's own DNS service.

  • What is the purpose of setting custom DNS in Azure Virtual Networks?

    -Setting custom DNS in Azure Virtual Networks allows the network to direct DNS queries to specific IP addresses, which is necessary for domain-joined systems to communicate with on-premises DNS servers or Azure Active Directory Domain Services.

  • How can on-premises DNS servers be integrated with Azure for name resolution?

    -On-premises DNS servers can be integrated with Azure by establishing connectivity through VPN or Express Route and then configuring the custom DNS settings in Azure Virtual Networks with the IP addresses of the on-premises DNS servers.

  • What is a conditional forwarder in the context of DNS?

    -A conditional forwarder is a DNS configuration that allows a DNS server to pass unresolved domain name queries to another server, which is useful for resolving domains that the local DNS server does not know about, such as internal Azure suffixes.

  • How does Azure Active Directory Domain Services simplify DNS configuration for Azure AD?

    -Azure Active Directory Domain Services provides a 'Configure DNS' button that automates the DNS configuration for the virtual network it resides on, setting custom DNS to point at the Azure AD domain controllers, simplifying the setup process.

  • What is the role of the _msradc record in the WVD client?

    -The _msradc record is a DNS text record that, when configured, allows the WVD client to discover the feed URL for accessing WVD resources, simplifying the client setup process for users.

  • Why is it a best practice to have a domain controller in the cloud for WVD?

    -Having a domain controller in the cloud is a best practice for WVD because it minimizes latency and improves name resolution performance for authentications, enhancing the overall user experience.

  • How can users access WVD resources when they are not in the same network as the domain controller?

    -Users can access WVD resources by resolving the _msradc DNS record, which points to the feed discovery URL, allowing them to connect to WVD even when they are outside the network where the domain controller is located.

  • What steps are involved in setting up internet domain name resolution for WVD?

    -Setting up internet domain name resolution for WVD involves registering a custom domain name with an internet registrar, adding the domain to Azure Active Directory, and configuring DNS records at the registrar to ensure proper resolution to Azure services.

Outlines

00:00

๐ŸŒ DNS Configuration for Active Directory and Azure AD Domain Services

In this segment, Dean Sefola introduces the concept of name resolution in the context of Windows Virtual Desktop (WVD) architecture planning. He explains the role of Domain Name System (DNS) in translating human-readable names into IP addresses and vice versa, which is crucial for domain-joined systems in Azure. Dean discusses the importance of configuring DNS for Active Directory and Azure Active Directory Domain Services (Azure ADDS), emphasizing the need for custom DNS settings to enable domain join for WVD session hosts. He also covers how to set DNS in the Azure portal for virtual networks and the process of configuring conditional forwarders on a DNS server to handle requests that the local DNS server cannot resolve, which is particularly useful for WVD environments.

05:01

๐Ÿ” Enhancing Name Resolution for WVD with Conditional Forwarders and Public DNS

Dean continues the discussion on name resolution, focusing on the use of conditional forwarders to direct DNS requests to Azure's DHCP scope when the local DNS server is unable to resolve certain domain suffixes used internally by Azure. He demonstrates how to add a conditional forwarder for 'reddog.microsoft.com' and explains its application in WVD for secure access to resources like FSLogix and Azure Files. Dean also addresses the challenge of clients accessing WVD from the internet, describing the process of registering a custom domain name with Azure Active Directory and using DNS to simplify client access to the WVD environment. He illustrates how to create a TXT record for the '_msradc' service in both Azure Public DNS and an on-premises DNS server to enable seamless client discovery of WVD resources.

Mindmap

Keywords

๐Ÿ’กWVD

WVD stands for Windows Virtual Desktop, which is a cloud-based service that allows users to deploy and manage a virtual desktop experience. In the video, WVD is central to the discussion on planning and configuring name resolution for a seamless user experience. The script mentions that all WVD session hosts need to be domain joined, emphasizing the importance of DNS in this context.

๐Ÿ’กDNS

DNS, or Domain Name System, is the system that translates human-friendly domain names into IP addresses that computers use to communicate with each other. The video script explains that DNS is crucial for name resolution in Active Directory and Azure Active Directory Domain Services, allowing users to access websites and WVD through memorable names rather than IP addresses.

๐Ÿ’กActive Directory

Active Directory is a directory service used by Microsoft to store and manage information about network resources. The script discusses planning and configuring name resolution for Active Directory, highlighting its role in managing domain-joined devices and facilitating secure dynamic DNS registration.

๐Ÿ’กAzure Active Directory Domain Services

Azure Active Directory Domain Services is a managed domain service that offers domain join, group policy, and LDAP/ Kerberos protocol support. The video script explains how to configure DNS for Azure AD Domain Services, which simplifies the process of setting up custom DNS for the virtual network.

๐Ÿ’กDomain Join

Domain joining is the process of adding a computer to a domain, which allows it to be managed by the domain's group policies and directory services. In the script, it is mentioned that the domain join process sets the primary DNS suffix of the client and maintains the trust relationship with the domain controller.

๐Ÿ’กFully Qualified Domain Name (FQDN)

An FQDN is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System. The script uses the example 'wvd.wvdhost1.msazureacademy.com' to illustrate how the FQDN is constructed from the session host's name and the domain's DNS suffix.

๐Ÿ’กVirtual Network

A virtual network in Azure is a logical representation of a network that allows users to create secure networks in the cloud. The script discusses configuring DNS servers for a virtual network, which is essential for domain-joined systems to resolve names correctly.

๐Ÿ’กConditional Forwarder

A conditional forwarder in DNS is used to forward queries for certain domains to another DNS server that is better equipped to resolve them. The script explains the use of conditional forwarders to resolve Azure-internal DNS suffixes that are not internet-registered and are unknown to the local DNS server by default.

๐Ÿ’กFSLogix

FSLogix is a solution that helps manage user profiles in non-persistent desktop environments like WVD. The script mentions using FSLogix with Azure Files storage configuration, which requires a secure connection established through private link and DNS settings.

๐Ÿ’กCustom Domain Name

A custom domain name is a unique address on the internet that identifies a website or service. The script describes the process of registering a custom domain name with Azure Active Directory to ensure that internet domain name resolution can direct clients to the correct WVD instance.

๐Ÿ’กDNS Propagation

DNS propagation is the process by which changes to DNS records spread across the internet. The script mentions waiting for DNS propagation after adding a new record, which is necessary for the changes to take effect and for clients to resolve the new entries correctly.

Highlights

Introduction to planning and configuring name resolution for Active Directory and Azure Active Directory Domain Services.

Explanation of DNS (Domain Name System) and its role in translating names into IP addresses.

Importance of DNS in using Windows Virtual Desktop (WVD) and various DNS types in Azure.

All WVD session hosts need to be domain joined, which requires custom DNS configurations.

The primary DNS suffix is set during the domain join process to maintain trust relationships and fully qualified domain names.

Demonstration of configuring DNS servers in Azure for virtual networks to ensure domain join and secure dynamic DNS registration.

How to use Azure's default DNS server and custom DNS settings in virtual networks.

Explanation of conditional forwarders in DNS to resolve domains not registered on the internet, such as internal Azure domains.

Recommendation to have a domain controller in the cloud to minimize latency for lookups and authentication.

Use of VPN or ExpressRoute to connect on-premises DNS servers with Azure for seamless name resolution.

Steps to configure Azure Active Directory Domain Services (AAD DS) with custom DNS settings for domain controllers.

Details on setting up a private DNS zone in Azure to improve security and control over domain resolution for WVD and other services.

Example of adding conditional forwarders to handle internal Azure suffixes like 'reddog.microsoft.com'.

Process for setting up DNS to enable external clients, such as users on an iPhone, to access WVD instances via internet domain name resolution.

Instructions for adding text records to both public and private DNS zones for service discovery and better client access to WVD.

Transcripts

play00:00

thanks for clicking and joining us for

play00:01

episode 2 in the az140 study guide and

play00:05

we're continuing to plan our wbd

play00:07

architecture and today we're going to

play00:09

get into

play00:09

planning and configuring name resolution

play00:12

for active directory

play00:13

and azure active directory domain

play00:15

services

play00:18

[Applause]

play00:20

i'm dean sefola and this is the azure

play00:22

academy name resolution is where we get

play00:24

it into

play00:24

the dns this is the domain name system

play00:28

so what is that well computers

play00:30

understand ip addresses

play00:31

like 20.42.6.197

play00:35

but it's easier for people to remember

play00:37

names

play00:38

so you get bonus points if you comment

play00:40

down below with the name that that ip

play00:43

address i just gave you resolves to

play00:45

so it's dns's job to translate names

play00:47

into ips and back into names

play00:50

so that computers and the rest of us can

play00:51

get along dns is what allows you to use

play00:54

your web browser to find

play00:56

websites as well as use windows virtual

play00:58

desktop and there are multiple kinds of

play01:00

dns in azure now as of today when i'm

play01:03

recording this video

play01:04

all of your wvd session hosts need to be

play01:06

domain

play01:07

joined and dns is one of the most

play01:10

important things that an active

play01:11

directory domain does

play01:13

and like everything else in a domain

play01:15

it's built on trust

play01:16

so a domain joined windows client will

play01:19

register

play01:20

its ip address with the domain

play01:21

controller by using

play01:23

secure dynamic dns now the domain join

play01:26

process

play01:27

will set the primary dns suffix of the

play01:30

client

play01:31

and creates and maintains that trust

play01:33

relationship

play01:34

and that's what gives you the fully

play01:35

qualified domain name of something like

play01:38

wvd wvdhost1.msazureacademy.com

play01:42

the first part is the name of your

play01:44

session host the second part is your

play01:46

domains

play01:47

dns suffix over here in the azure portal

play01:50

i've got multiple

play01:51

virtual networks as you can see so let's

play01:53

click on one of them

play01:54

and notice right up here that we have

play01:56

the dns

play01:58

server for this particular virtual

play02:00

network which you can also see

play02:01

over there on the left and we can see up

play02:03

top that the dns server is currently set

play02:06

as the

play02:07

default of azure so what is that well

play02:09

this is from the dhcp

play02:12

scope that gives the vms their ip

play02:14

addresses

play02:15

so the default dns server that every vm

play02:18

in azure gets is going to be 168.6

play02:24

so this is azure's dns now as of today

play02:28

you can't use this in relation to wbd

play02:31

because we need our systems to be domain

play02:33

joined which is going to require

play02:35

custom dns and by putting these ip

play02:38

addresses here that tells the azure dhcp

play02:41

scope

play02:41

to push these dns server ip addresses

play02:44

to all of the hosts in this virtual

play02:46

network so if you're using an active

play02:48

directory domain controller that's

play02:50

in azure you can just set these ip

play02:52

addresses

play02:53

in your dns and the azure side is done

play02:56

there's still some things to do on our

play02:58

dns server which we'll get into in a

play02:59

minute

play03:00

but what if your dns server happens to

play03:02

be on premise so how do we bridge that

play03:05

gap well

play03:05

you need some kind of connectivity

play03:07

either a vpn

play03:09

or an express route to connect your

play03:11

on-prem network

play03:12

with azure and we'll get into that in

play03:14

detail in a future episode but

play03:16

all you have to do is just enter the ip

play03:18

address here

play03:19

as long as my vpn tunnel and all of the

play03:22

azure routing

play03:22

and gateways are all working properly

play03:24

again more on that in a future episode

play03:27

you'll be able to get name resolution

play03:29

from your wvd session host in azure

play03:32

to the network which knows now to

play03:34

communicate back over to on premise

play03:36

talk to your dns server and complete

play03:38

name resolution

play03:39

now if that sounds like going really far

play03:42

down the path

play03:43

instead of having a dns server in the

play03:45

cloud you are exactly right and it is a

play03:47

best practice to have a domain

play03:49

controller in the cloud from the

play03:50

perspective

play03:51

of keeping your lookups name resolution

play03:53

and latency for all your authentications

play03:56

as short as possible but what about

play03:58

azure active directory domain services

play04:00

now here i have an instance of azure

play04:02

active directory domain services that

play04:04

i've created

play04:05

and if we scroll down the page here

play04:07

you'll see right over there is a

play04:08

configure dns

play04:10

button so this is the easy way to do it

play04:12

when you have azure adds

play04:14

and when you click that button it's

play04:15

going to configure the virtual network

play04:17

that your azure ad domain services

play04:20

lives on to do exactly what we saw in

play04:22

the last screen

play04:23

which is configure azure with custom dns

play04:26

which will point at your two

play04:28

azure ad domain services domain

play04:30

controllers

play04:31

so i've logged on to my domain

play04:33

controller and i've got my dns

play04:35

server manager open i've got forward

play04:37

lookup zones reverse zones and then i've

play04:39

got some conditional forwarders

play04:41

and that's what i want to talk about

play04:42

here so what is a conditional forwarder

play04:45

well it's when your dns

play04:46

server doesn't know how to resolve

play04:49

something for example

play04:51

reddog.microsoft.com now this is one of

play04:53

the dns suffixes along with the others

play04:55

that are listed

play04:56

there that are used by azure internally

play04:58

and are not

play04:59

internet registered so your dns server

play05:01

won't know how to resolve those by

play05:02

default so we have to

play05:04

tell it so when you add a conditional

play05:06

forwarder you're asking your dns server

play05:09

to pass that request

play05:10

onto another server so if i click on

play05:13

redog.microsoft.com you can see

play05:15

we've got that same azure dhcp address

play05:18

here

play05:19

so when your local server doesn't know

play05:20

what to do you would forward that

play05:22

request

play05:23

onto the azure dhcp scope over your vpn

play05:26

or your express route

play05:28

and then azure would finish that

play05:29

resolution and give you the response

play05:32

now this comes in pretty handy in wvd

play05:34

because notice i have

play05:35

private link link.core.windows.net

play05:39

and i use this in my fslogix azure files

play05:42

storage configuration

play05:44

to add extra security to that storage

play05:46

that only my wvd systems can get to my

play05:49

user profiles

play05:50

and we'll cover more on that in a future

play05:52

episode on fs logics and

play05:54

storage one last thing for today and

play05:56

that is how we can

play05:57

actively use name resolution so of

play06:00

course your vms are joined to your

play06:02

domain

play06:03

and they're going to talk to one of your

play06:04

domain controllers to do all of their

play06:06

lookups and name resolution but what

play06:08

about your clients

play06:09

let's say that you've got a user who's

play06:11

sitting in an internet cafe

play06:13

and you allow them to use wvd how do

play06:16

they find

play06:16

your instance and how do they get on

play06:18

their client to see what they even have

play06:20

access to well this is handled in two

play06:22

ways

play06:22

first is internet domain name resolution

play06:25

which you do when you establish your

play06:27

domain like

play06:28

ms azureacademy.com i had to go to an

play06:31

internet registrar

play06:32

and buy that domain name and then i

play06:34

could come over here to azure active

play06:36

directory

play06:37

and over on the left at the bottom we've

play06:39

got custom domain

play06:40

name and i had to add a custom domain

play06:43

name and register

play06:44

my azure active directory tenant to be

play06:47

ms azureacademy.com

play06:49

and you do that by adding the

play06:50

appropriate records into your dns

play06:52

registrar so that everything resolves

play06:54

from out in the world

play06:55

down to you but now what about those

play06:57

clients i mentioned so here i've got my

play06:59

iphone opened and i'll open my wvd app

play07:03

and i've got nothing registered so i

play07:05

want to add a new

play07:06

user so i'll click to add and i'll type

play07:08

in my user's email address but i can't

play07:11

find anything

play07:12

now you could resolve this just by

play07:14

telling them to remember the

play07:16

long url for the feed discovery but

play07:18

that's a pain

play07:19

let's solve this with dns so here i have

play07:21

an azure public dns

play07:23

zone and this is what i use for my

play07:26

internet name resolution we need to go

play07:28

and add a new record

play07:29

and your name for that record should be

play07:31

underscore msradc

play07:34

the type of record should be a text

play07:36

record and i'll leave my time to live

play07:39

at one hour and now we need our value

play07:41

for this record it's

play07:43

where that text record resolves to and

play07:45

you can grab that link directly from the

play07:47

docs and i'll just post it here for our

play07:49

feed discovery

play07:50

and there you go our new record has been

play07:52

added so all you have to wait for

play07:53

is dns propagation which could take

play07:56

anywhere from a couple minutes to a

play07:57

couple

play07:58

hours let's do this again in our private

play08:01

dns on our domain controller so back in

play08:03

my server manager i'll go and create a

play08:05

new text record

play08:06

so right click on your domains forward

play08:08

lookup zone

play08:09

go down to other new records and then

play08:12

scroll down until you find your text

play08:14

record and hit

play08:15

create record and it's the same name as

play08:17

before underscore msradc

play08:20

and then the text value is the feed

play08:22

discovery url

play08:24

and then hit ok and we go back to my ios

play08:27

client and then type in the user's email

play08:29

address again

play08:30

and now through the power of dns we can

play08:32

complete that lookup

play08:34

find all of the things that we have

play08:35

access to and get back to work

play08:38

so if this has been helpful for you go

play08:39

ahead and hit the like button subscribe

play08:41

if you haven't done that already

play08:43

and click that notification bell because

play08:45

the videos in this study guide are just

play08:47

going to come out as

play08:48

fast as i can do them so you want to be

play08:50

sure that you're notified when that

play08:52

happens

play08:52

and be sure to click through to the next

play08:54

video by clicking on our playlist right

play08:56

over there

play08:57

or you can check out the latest video at

play08:59

the azure academy up top thanks for

play09:01

joining us today and we'll see you in

play09:03

the next episode

play09:04

happy learning

Rate This
โ˜…
โ˜…
โ˜…
โ˜…
โ˜…

5.0 / 5 (0 votes)

Related Tags
Azure ADDNS ConfigurationWBD PlanningActive DirectoryDomain ServicesName ResolutionVirtual NetworksVPN ConnectivityCloud ArchitectureStudy GuideTechnical Tutorial