Table of Contents

Name

nlpc-resolv - resolves IP addresses from names

Synopsis

nlpc-resolv [-dhv] [-p path]

Description

The nlpc-resolv utility iterates over a nlpc database and asynchronously resolves groups of IP address. It also maintains a cache of addresses whose cache timeout may be tuned. The cache has a self-organising priority queue in order to keep bounded caches containing relevant entries. Successfully resolved records are passed along to be fetched by nlpc-fetch(1) . The nlpc-resolv utility is part of the nlpcrawl(1) series of tools. The arguments are as follow:

-d
Enable debugging. Use multiple times for more verbosity.

-h
Print a help message and exit.

-v
Print version information and exit.

-p path
The database environment path. See the nlpcrawl(1) FILES section.

In addition, the following long arguments may be used:

--fetch-burst int
Number of simultaneous asynchronous queries. This and --fetch-wait directly influence the throughput of query resolution. Note that if addresses are found in the cache, they’re passed through before effecting burst capacity; or in other words, this only effects attempts on the wire. Defaults to 64.

--fetch-wait int
Amount of time between request burst. This and --fetch-burst directly influence the throughput of query resolution. This value defines the amount of time between the last server response and the next burst. Defaults to 5 (seconds).

--cache-size int
Number of entities to keep cached. If this value is exceeded, last-priority elements are removed on-demand from the cache’s priority queue. If set to 0, the cache is unbounded. Defaults to 4096.

--cache-maxage int
Maximum amount of time to cache a lookup. If set to 0, cache entries are not aged (not recommended). Defaults to 120 (seconds).

See Also

nlpcrawl(1)


Table of Contents