influxdata / influxdata/telegraf

Reverse DNS Processor should cache failed lookups

Open
#9,204 2 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Go
Stars
17.8k
Forks
5.8k
Avg merge
1d 20h
Merged PRs (30d)
161

Description

## Feature Request

@ssoroka

### Proposal:

Currently, the reverse DNS processor only caches successful lookups. It should also cache failed lookups for a period of time

### Current behavior:

Only successful lookups are cached

### Desired behavior:

Failed lookups would also be cached so that it doesn't constantly try to lookup the same IP

### Use case:

If a device sends a large amount of data to Telegraf, but the IP doesn't resolve using reverse lookup, Telegraf will try to resolve that IP every time a new message comes in. It should remember that it failed and only retry after a defined period of time.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Reverse DNS Processor entry point and its existing successful-lookup cache. Check nearby tests, if present, to understand cache expiry behavior. Done means failed lookups are cached, repeated requests avoid immediate retries, and retries occur after a defined period.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.