|
NAMElocal - respond to local names.DESCRIPTIONlocal will respond with a basic reply to a "local request". Local request are defined to be names in the following zones: localhost, 0.in-addr.arpa, 127.in-addr.arpa and 255.in-addr.arpa and any query asking for localhost.<domain>. When seeing the latter a metric counter is increased and if debug is enabled a debug log is emitted.With local enabled any query falling under these zones will get a reply. The prevents the query from "escaping" to the internet and putting strain on external infrastructure. The zones are mostly empty, only localhost. address records (A and AAAA) are defined and a 1.0.0.127.in-addr.arpa. reverse (PTR) record. SYNTAXlocal METRICSIf monitoring is enabled (via the prometheus plugin) then the following metric is exported:
Note that this metric does not have a server label, because it's more interesting to find the client(s) performing these queries than to see which server handled it. You'll need to inspect the debug log to get the client IP address. EXAMPLES. { local } BUGSOnly the in-addr.arpa. reverse zone is implemented, ip6.arpa. queries are not intercepted.SEE ALSOBIND9's configuration in Debian comes with these zones preconfigured. See the debug plugin for enabling debug logging.
Visit the GSP FreeBSD Man Page Interface. |