mirror of
https://github.com/coredns/coredns.git
synced 2025-12-04 17:35:13 -05:00
plugin/geoip - Support for ISO 3166-2 subdivisions. (#7728)
Metadata `geoip/subdivisions/code` now available if geoip plugin is used. Signed-off-by: Tomas Boros <tomas.boros92@gmail.com>
This commit is contained in:
@@ -141,6 +141,7 @@ A limited set of fields will be exported as labels, all values are stored using
|
||||
| `geoip/longitude` | `float64` | `0.1315` | Base 10, max available precision.
|
||||
| `geoip/timezone` | `string` | `Europe/London` | The timezone.
|
||||
| `geoip/postalcode` | `string` | `CB4` | The postal code.
|
||||
| `geoip/subdivisions/code` | `string` | `ENG,TWH` | Comma separated [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) subdivision(region) codes, e.g. first level (province), second level (state).
|
||||
| `geoip/asn/number` | `uint` | `396982` | The autonomous system number.
|
||||
| `geoip/asn/org` | `string` | `GOOGLE-CLOUD-PLATFORM` | The autonomous system organization.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user