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.