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.
nslookup OW5000 127.0.0.1could clarify that. – Julie Pelletier Jul 08 '16 at 23:03unknown can't find ow5000: server failedandunknown can't find ow5000: no response from serverwhen including127.0.0.1at the end. – dthree Jul 08 '16 at 23:25I have IPv6 disabled- Do you mean that you unbound IPv6 from the NIC? If so, that isn't enough. - https://support.microsoft.com/en-us/kb/929852 – joeqwerty Jul 09 '16 at 01:15