2

I have a Windows Server 2012 instance running software that requires that it map its hostname OW5000 to its IP Address.

However, when pinging OW5000, it resolves to ::1. In this instance, the software will not work. It requires the IP, let's say 10.10.10.21.

I manually set the hosts file in order to override this loopback address:

# hosts
10.10.10.21  OW5000

Despite this, even with flushing the DNS afterwards, OW5000 is still resolving to ::1.

The computer is not on a domain so using DNS will not work as it needs to resolve OW5000, not a fully qualified Domain Name.

Is there a workaround to this?


UPDATE

Doing an ipconfig /displaydns displays the record twice:

ow5000
----------------------------------------
Record Name . . . . . : OW5000
Record Type . . . . . : 28
Time To Live  . . . . : 1200
Data Length . . . . . : 16
Section . . . . . . . : Question
AAAA Record . . . . . : ::1


ow5000
----------------------------------------
Record Name . . . . . : OW5000
Record Type . . . . . : 1
Time To Live  . . . . : 1200
Data Length . . . . . : 4
Section . . . . . . . : Question
A (Host) Record . . . : 10.10.10.21

Here's what gets interesting: the Record Type appearing on the loopback is 28, which in looking it up, is IPv6! I have IPv6 disabled. But clearly it isn't and this is creating the problem.

So lost.

dthree
  • 367

2 Answers2

1

Ping and Nslookup make different types of name resolution lookups. See https://superuser.com/questions/495759/why-is-ping-unable-to-resolve-a-name-when-nslookup-works-fine

Does Nslookup work? Might also try putting the name in the LMHOSTS file instead of HOSTS.

You may also want to run this checklist hosts file ignored, how to troubleshoot?

Clayton
  • 4,653
0

I used this article to solve it.

In essence, IPv6 was not actually really, truly disabled, so one has to set the registry setting contained in there, and then reboot.

dthree
  • 367