UNC and IPv6 (via IPv6 address – Wikipedia, the free encyclopedia)
Posted by jpluimers on 2012/11/23
If you have a MYSHARE share on SERVER having an IPv6 of 2001:db8:85a3:8d3:1319:8a2e:370:7348, but your WINS fails, then you can use it in an UNC path like this:
\\2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net\MYSHARE
Literal IPv6 addresses in UNC path names
In Microsoft Windows operating systems, IPv4 addresses are valid location identifiers in Uniform Naming Convention (UNC) path names. However, the colon is an illegal character in a UNC path name. Thus, the use of IPv6 addresses is also illegal in UNC names. For this reason, Microsoft implemented a transcription algorithm to represent an IPv6 address in form of a domain name that can be used in UNC paths. For this purpose, Microsoft registered and reserved the second-level domain ipv6-literal.net on the Internet. IPv6 addresses are transcribed as a hostname or subdomain name within this name space, in the following fashion:
2001:db8:85a3:8d3:1319:8a2e:370:7348is written as
2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.netThis notation is automatically resolved by Microsoft software without any queries to DNS name servers. If the IPv6 address contains a zone index, it is appended to the address portion after an ‘s’ character:
fe80--1s4.ipv6-literal.net
–jeroen






Leave a comment