1

I'm trying to setup a public DNS server in Azure IaaS. I have successfully created the server, installed DNS and configured my authoritative zones. I have configured endpoints for both TCP and UDP ports 53. Windows firewall is currently off for testing purposes.

When I do an nslookup, specifying localhost, everything works fine. However, when I do an nslookup specifying the public IP Address , the request times out.

What steps should I take to diagnose the issue?

7
  • 1
    What does your NSG look like?
    – joeqwerty
    Sep 6, 2017 at 1:13
  • Inbound endpoints for 3389, TCP 53 and UDP 53 are open.
    – S. Walker
    Sep 6, 2017 at 1:14
  • I can telnet to port 53 from the internet
    – S. Walker
    Sep 6, 2017 at 1:14
  • So rDNS (reverse DNS) is not working. Have you setup your rDNS Looup Zone? See: technet.microsoft.com/en-us/library/cc961414.aspx Sep 6, 2017 at 1:59
  • @S.Walker, I think you need an SOA in your rDNS Lookup Zone and your issue will be resolved. Sep 6, 2017 at 2:04

3 Answers 3

1

If I understand correctly , you nslookup your VM’s Public IP address though your DNS server and get the error ”DNS request timed out”. I suggest you can take following steps to troubleshtoot:

  1. Ensure there is no 3rd party firewall software on your VM.
  2. Ensure that you had setup your DNS Server correctly.
  3. You can use the Debug function of nslookup to check hwo nslookup on your machine to find it whether a network issue.

Exmaple:

C:\Administrator>nslookup
                >set debug
                >[Your test IP address]
  1. If your network configuration is correct, this issue may caused by the nslookup Tools problem. You can use 'nosearch' and ‘srchlist=’

Exmaple:

C:/>nslookup -nosearch <Test IP address>

C:/>nslookup -srchlist= <Test IP address>

If all above does not help you resolve this issue, you can offer me more details about How you test, the How did you setup your DNS server and Error information so that I can troubleshoot it clearly.

Notice: you can also to refer to this link to setup public DNS Server on Azure VM.

1

I presume that the public IP is set on Azure firewall not on the VMs vNIC. nslookup, when running on the VM itself, cannot go to the outside network and then loop back to the VM if network is not correctly configured. Does it work if you execute it on another indipendent host (neither in Azure nor in your LAN)?

0

I ended up resolving this issue by removing the Network Security Group and re-assigning it to the Network Card.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .