gdnsd_geoip_test(1)

gdnsd_geoip_test1

Commandline test program for gdnsd-plugin-geoip maps

Usage

map_name Mapping name from geoip plugin config

Overview

This is a simple commandline test program for "gdnsd-plugin-geoip" map configurations. It parses your standard gdnsd config file, extracts the relevant bits from the geoip plugin section, and processes the "maps" section using the same core code as the plugin itself. It then resolves the supplied IP address against the supplied map name, providing an ordered datacenter list (and edns scope netmask) result.

The input IP addresses on the commandline do not accept CIDR subnet information. This is intentional. Because of the method by which "gdnsd-plugin-geoip" builds, optimizes, and performs lookups on the internal data, the client subnet mask is irrelevant, and the response scope mask is always as specific or general as necessary. To simulate different edns input masks on the same address data, simply zero out more of the right hand bits of the address.

If no "[map_name addr]" is given on the commandline, the program enters a REPL (Read-Eval-Print Loop) mode with a prompt, allowing you to interactively enter several "[map_name addr]" pairs without reloading the configured database(s).

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

From gdnsd 3.8.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.