Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement persistent IP-to-hostname mapping #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Rameen-Mahmood
Copy link
Member

  • Replaced the transient, in-memory ip_hostname_dict with a persistent database using Python’s shelve module; stores IP-hostname mappings across script executions, allowing them to be retained and reused in future runs.
  • Implemented reverse DNS lookup as a fallback mechanism to resolve hostnames for IP addresses not recorded in the shelve database.

Resolves #2

@Rameen-Mahmood Rameen-Mahmood added the enhancement New feature or request label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

label more IPs with hostnames
1 participant