Navigated to Azure WebApp Domain Mappings and added turnik.city
in addition to www.turnik.city
.
So "turnik.city
" cat not be resolved, but "www.turnik.city
" works fine.
CodePudding user response:
You're missing an A record for the root of your zone (i.e. @
).
- Go to your Azure DNS zone
- Click " Record set"
- Specify:
- Name:
'@'
- Type:
A
- Alias record set: Yes
- Alias type: Azure resource (then select your Azure AppService or Website)
- Retain the default 1 hour (3600s) TTL.
- Name:
- Click OK
- Wait a few minutes, then try resolving your names using
dig
ornslookup
(but configured to not use your local or network's DNS cache).
- Also, consider changing your
www
record from aCNAME
to anA
Azure Alias record. This is preferable becauseCNAME
records require clients to complete two requests (or more) to resolve, which is slower than anA
record that resolves immediately.