how to fix server can't find app.local: NXDOMAIN when nslookup

thea chen 20 Reputation points
2025-03-07T17:04:39.3466667+00:00

thea [ ~ ]$ nslookup app.theachen.local

Server: 168.63.129.16

Address: 168.63.129.16#53

** server can't find app.theachen.local: NXDOMAIN
I have created an Azure Private DNS zone (theachen.local) and added an A record (app.theachen.local with IP 10.1.0.4). However, when I try to resolve the domain using nslookup, get the error:

sh
CopyEdit
** server can't find app.theachen.local: NXDOMAIN
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,740 questions
0 comments No comments
{count} votes

Accepted answer
  1. Daisy Zhou 30,971 Reputation points Microsoft External Staff
    2025-03-13T01:24:51.7266667+00:00

    Hello thea chen,

    Thank you for posting in Q&A forum.

    It sounds like there might be an issue with the DNS configuration. Here are a few things you can check:

    1. Ensure that the virtual network is linked to the Azure Private DNS zone. Without this association, the DNS records won't be resolved.
    2. Verify that the DNS server settings on your virtual network are correctly configured to use the Azure DNS servers.
    3. Double-check that the A record for app.theachen.local is correctly created in the Azure portal.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.