From: Evan Hunt Date: Sun, 23 Jun 2019 03:57:08 +0000 (-0700) Subject: update ARM documentation X-Git-Tag: v9.11.9~7^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=babc839b312efb7d44927c704d9dc199ff9c134b;p=thirdparty%2Fbind9.git update ARM documentation (cherry picked from commit c9945d61482dff4e6657460ba74b5ac459342530) (cherry picked from commit d6bd7bb9afab0939ee4029d861c8ea3914761615) --- diff --git a/doc/arm/Bv9ARM-book.xml b/doc/arm/Bv9ARM-book.xml index e7fd0847103..5b04144a3a6 100644 --- a/doc/arm/Bv9ARM-book.xml +++ b/doc/arm/Bv9ARM-book.xml @@ -4706,13 +4706,17 @@ badresp:1,adberr:0,findfail:0,valfail:0] geoip-directory - Specifies the directory containing GeoIP - .dat database files for GeoIP - initialization. By default, this option is unset - and the GeoIP support will use libGeoIP's - built-in directory. - (For details, see about the - geoip ACL.) + When named is compiled using the + MaxMind GeoIP2 geolocation API, or the legacy GeoIP API, + this specifies the directory containing GeoIP + database files. By default, the option is set based on + the prefix used to build the libmaxminddb + module: for example, if the library is installed in + /usr/local/lib, then the default + geoip-directory will be + /usr/local/share/GeoIP. + See for details about + geoip ACLs. @@ -16844,38 +16848,39 @@ zone "example.com" { to search for a match. Available fields are "country", "region", "city", "continent", "postal" (postal code), "metro" (metro code), "area" (area code), "tz" (timezone), - "isp", "org", "asnum", "domain" and "netspeed". + "isp", "asnum", and "domain". value is the value to search for within the database. A string may be quoted if it - contains spaces or other special characters. If this is - an "asnum" search, then the leading "ASNNNN" string can be - used, otherwise the full description must be used (e.g. - "ASNNNN Example Company Name"). If this is a "country" - search and the string is two characters long, then it must - be a standard ISO-3166-1 two-letter country code, and if it - is three characters long then it must be an ISO-3166-1 - three-letter country code; otherwise it is the full name - of the country. Similarly, if this is a "region" search - and the string is two characters long, then it must be a - standard two-letter state or province abbreviation; - otherwise it is the full name of the state or province. + contains spaces or other special characters. An "asnum" + search for autonomous system number can be specified using + the string "ASNNNN" or the integer NNNN. + When "country" search is specified with a string is two + characters long, then it must be a standard ISO-3166-1 + two-letter country code; otherwise it is interpreted as + the full name of the country. Similarly, if this is a + "region" search and the string is two characters long, + then it treated as a standard two-letter state or province + abbreviation; otherwise it treated as the full name of the + state or province. The database field indicates which GeoIP database to search for a match. In most cases this is unnecessary, because most search fields can only be found in - a single database. However, searches for country can be - answered from the "city", "region", or "country" databases, - and searches for region (i.e., state or province) can be - answered from the "city" or "region" databases. For these - search types, specifying a database + a single database. However, searches for "continent" or "country" + can be answered from either the "city" or "country" databases, + so for these search types, specifying a + database will force the query to be answered from that database and no other. If database is not specified, then these queries will be answered from the "city", - database if it is installed, or the "region" database if it is - installed, or the "country" database, in that order. + database if it is installed, or the "country" database if it + is installed, in that order. Valid database names are + "country", "city", "asnum", "isp", and "domain". (If using + the legacy GeoIP API, "netspeed" and "org" databases are also + available.) By default, if a DNS query includes an EDNS Client Subnet (ECS) @@ -16889,9 +16894,9 @@ zone "example.com" { Some example GeoIP ACLs: geoip country US; -geoip country JAP; +geoip country JP; geoip db country country Canada; -geoip db region region WA; +geoip region WA; geoip city "San Francisco"; geoip region Oklahoma; geoip postal 95062;