Azure DNS name (servername.location.cloudapp.azure.com) VS internal FQDN (hostname.domain name eg servername.acad.ac.uk) - are they both FQDN?

Tom 1 Reputation point
2022-01-24T10:23:50.55+00:00

Hi all,

a somewhat petty question that is bugging me.
When I created a VM in our azure subscription, it has the DNS name in the format of
servername.location.cloudapp.azure.com

Which apparently is a FQDN
(where servername is the hostname and location could be northeurope etc)

However when I log onto the server and check its name via ping -a IP or full computer name it comes out as as:
servername.acad.ac.uk
(where acad is generic UK institution)

Apparently that is a FQDN as well.
Is there concept of internal and external (Azure) FQDN - or what I am misunderstanding?

many thanks

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
603 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,211 Reputation points
    2022-02-23T21:30:13.72+00:00

    @Tom I understand that you have questions regarding the Azure FQDN i.e., when you create the VM and add a DNS name in the Portal as shown below:

    169910-fqdn.png

    However, you do not see the same name once you login to the Server/VM in Azure. Is this what you are concerned about? Please correct me otherwise.

    The FQDN that is provided here is for the Public IP of the VM. Once you login to the server/VM and do a nslookup for the hostname, you will see the hostname of the private IP of the VM.

    In this case, what you are seeing(servername.acad.ac.uk) seems like a private DNS name. Can you confirm what DNS server you are using for this VM/Vnet? Usually it shows up in the NSLOOKUP output.

    Thank you!

    2 people found this answer helpful.

  2. KATTUPALLI SUDHAKAR 1 Reputation point
    2022-01-25T10:01:23.427+00:00