Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem of displaying a DNS server named unknown when running nslookup?

Shulou Source: shulou.com Published: 2022-06-02 15:03:58 10月03日 Update

How to solve the problem of displaying a DNS server named unknown when running nslookup?

©Lander Zhang focuses on on-demand IT infrastructure operation and maintenance services for foreign enterprises, and IT Helpdesk hands-on training practitioners

Https://blog.51cto.com/lander

2018-09-5 7:30

Problem description

When you run the nslookup command on the company's internal DNS server, the DNS request timed out. Timeout was 2 seconds. Default Server: UnKnown

Analysis of problems

When building an internal DNS server, we usually only use the default normal lookup area, that is, we only use the DNS server to resolve the domain name to IP address. In fact, the DNS server also has a reverse lookup zone, that is, it can resolve IP addresses into domain names. This occurs because no reverse lookup zone is created and the DNS server cannot resolve to the corresponding domain name based on its own IP address.

Solution method

Create a reverse lookup zone and add a pointer to the host A record attribute of the normal lookup zone.

1. In the DNS Manager, right-click Reverse Lookup Zone-New Zone:

two。 All the way to the default setting until Finish:

A record is added under the reverse lookup area:

3. Switch to the normal lookup area, Forward Lookup Zone-pushits.com, and find the host A record of the DNS server (mine is the host of this DC01):

4. Right-click dc01-Properties-check Update associated pointer (PTR) record-OK:

5. We can see a new record under the reverse lookup area:

6. When we run nslookup again, the Default Server: dc01.pushits.com displayed is the correct company DNS domain name:

If the document is useful to you, please forward it and share it!

Tags: Service region server domain name run host company address that is attribute problem time display that is habit function command foundation foreign enterprise actual combat actual Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia macOS Docker Microsoft Huawei