]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
geoipbackend: Document %cc modifier 5269/head
authorAki Tuomi <cmouse@cmouse.fi>
Mon, 24 Apr 2017 09:51:48 +0000 (12:51 +0300)
committerAki Tuomi <cmouse@cmouse.fi>
Mon, 24 Apr 2017 09:51:48 +0000 (12:51 +0300)
docs/markdown/authoritative/backend-geoip.md

index 1abb325e43f1260ada213e2fe5573480a770ee67..4ba364f49bb4d2ba184828b3cc0c80239c70ae0e 100644 (file)
@@ -104,6 +104,7 @@ domains:
 * **ttl**: TTL value for all records
 * **records**: Put fully qualified name as subkey, under which you must define at least soa: key. Note that this is an array of records, so ‐ is needed for the values.
 * **services**: Defines one or more services for querying. The format supports following placeholders, %% = %, %co = 3-letter country, %cn = continent, %af = v4 or v6. There are also other specifiers that will only work with suitable database and currently are untested. These are %re = region, %na = Name (such as, organisation), %ci = City. 
+* From 4.1.0, you can also use %cc = 2 letter country code
 * From 4.0.0, you can also use %as = ASn, %ip = Remote IP
 * From 4.0.0, you can also use additional specifiers. These are %hh = hour, %dd = day, %mo = month, %mos = month as short string, %wd = weekday (as number), %wds weekday as short string. 
 * From 4.0.0, scopeMask is set to most specific value, in case of date/time modifiers it will be 32 or 128, but with the others it is set to what geoip says it used for matching.