Datatypes › Internet

IPv6 address

ID ipv6

DatatypePersonal data (PII)identifier

128-bit address of Internet Protocol version 6, written as eight groups of up to four hexadecimal digits separated by colons (RFC 4291, section 2.2). One run of zero groups may be shortened to ::, and the last 32 bits may be written as an IPv4 address, as in ::ffff:192.0.2.128. RFC 5952 recommends lowercase and the shortest form, but data also holds full and uppercase forms, and the regexp accepts all of them. It does not accept a zone index (fe80::1%eth0) or a prefix length. 2001:db8::/32 is reserved for documentation (RFC 3849).

Parent datatype
IP address (IPv4 or IPv6) ipaddr
Categories
Internet, Personally identifiable information
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
ipv6
Microsoft CDM
means.identity.IP6Address
W3C DPV
pd:IPAddress
FTA
IPADDRESS.IPV6
Microsoft Purview
IP Address v6
Quality
100/100
Metacrafter rules
1 rule (0 by field name, 1 by value)
  • ipv6 data, ext/ext_internet.yaml
Supported by tools
Auto-Type, Datadog Sensitive Data Scanner, DataHub classification, Dataiku DSS, DataPrep, Capital One DataProfiler, FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, Logstash and Elastic grok patterns, IBM Knowledge Catalog (IBM watsonx.data intelligence), metacrafter, Metadata Guardian, Microsoft Purview Data Loss Prevention, Pydantic and pydantic-extra-types, pyWhat, Microsoft Recognizers-Text, SAS Information Catalog (Quality Knowledge Base), SDV sdtypes (Synthetic Data Vault), Soda, RedGate SQL Data catalog, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory), validator.js

Regular expression

^(?:(?:[0-9A-Fa-f]{1,4}:){6}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(?:\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|::(?:[0-9A-Fa-f]{1,4}:){5}(?:[0-9A-Fa-f]{1,4}:[0-9A-Fa-f]{1,4}|(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[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9]?[0-9])){3})|(?:(?:[0-9A-Fa-f]{1,4}:){0,5}[0-9A-Fa-f]{1,4})?::[0-9A-Fa-f]{1,4}|(?:(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4})?::)$

Python re syntax.

Test a value

Examples

ValueDescription
2001:db8::1 Shortest form, documentation prefix (RFC 3849)
2001:0db8:0000:0000:0000:ff00:0042:8329 Full form with leading zeros
::ffff:192.0.2.128 IPv4-mapped address
::1 Loopback address
2001:db8::1::2 invalid :: used twice
2001:db8:0:0:0:0:0:0:1 invalid Nine groups
2001:db8::/32 invalid A prefix, not an address

Translations

LanguageNameDescription
RussianIPv6-адрес128-битный адрес протокола IPv6: восемь групп шестнадцатеричных цифр через двоеточие, допускается сокращение ::.

Sources

Use this record