How do I add IPv6 address into System32\drivers\etc\hosts?
Posted
by
Evgenyt
on Server Fault
See other posts from Server Fault
or by Evgenyt
Published on 2011-02-12T12:16:35Z
Indexed on
2011/02/12
15:27 UTC
Read the original article
Hit count: 343
There is already by default, and it works (Win 7):
::1 localhost
This also works (testing with ping):
::1 hosta
But when I'm trying to add something non-loopback, it doesn't resolve:
fe80::215:afff:fec6:ea64 realhost
So that I can do:
C:>ping fe80::215:afff:fec6:ea64
Reply from fe80::215:afff:fec6:ea64: time=2ms
But can't go with hostname that I put in hosts:
C:>ping realhost
Ping request could not find host realhost. ...
Any way to add an IPv6 address to hosts in Windows?
© Server Fault or respective owner