{"id":13492982,"url":"https://github.com/polarityio/dig","last_synced_at":"2025-03-28T11:31:15.599Z","repository":{"id":47336060,"uuid":"240827124","full_name":"polarityio/dig","owner":"polarityio","description":"Network admin tool for querying DNS servers","archived":false,"fork":false,"pushed_at":"2023-11-25T14:58:02.000Z","size":3392,"stargazers_count":18,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-01T19:45:37.303Z","etag":null,"topics":["polarity-integration"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/polarityio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-02-16T03:47:57.000Z","updated_at":"2024-03-21T12:07:04.000Z","dependencies_parsed_at":"2023-11-25T15:42:21.627Z","dependency_job_id":null,"html_url":"https://github.com/polarityio/dig","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarityio%2Fdig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarityio%2Fdig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarityio%2Fdig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polarityio%2Fdig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polarityio","download_url":"https://codeload.github.com/polarityio/dig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222376246,"owners_count":16974312,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["polarity-integration"],"created_at":"2024-07-31T19:01:11.034Z","updated_at":"2024-10-31T07:30:56.663Z","avatar_url":"https://github.com/polarityio.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Polarity Dig Integration\n\n![mode:on demand only](https://img.shields.io/badge/mode-on%20demand%20only-blue.svg)\n\n\u003e This integration runs in `On Demand Only` mode\n\n| ![overlay results with a domain](assets/overlay_domain.png) |![overlay results with an ip PTR](assets/overlay_ip_ptr.png)|![overlay results with an IP authority](assets/overlay_ip_authority.png)\n|:---:|:---:|:---:|\n|*Domain Query with Answers* |*IP Query with PTR Answer*| *IP Query with Authority section*|\n\n\nThe Polarity dig integration leverages the \"node-dig-dns\" library which provides a simple node wrapper for the unix/linux/macos dig command (domain information grope).  The integration allows you to specify what type of query is run.  By default, the integration runs an A record query for domains and a PTR (reverse DNS) query for IP addresses.  \n\nBy default, for domains, this integration runs the dig command:\n\n```\ndig A \u003cdomain\u003e @dns-server\n```\n\nFor IP Addresses this integration does a reverse lookup:\n\n```\ndig -x \u003cip-address\u003e @dns-server\n```\n\n## Installing Dig\n\nFor this integration to work you must have the `dig` command line tool installed on your Polarity Server.  To install `dig` you can install the `bind-utils` package via `yum`:\n\n```\nsudo yum install bind-utils -y\n```\n\n## Dig Integration Options\n\n### DNS Server\nThe DNS Server (host or IP) to perform lookups against. If left blank, the Polarity Server's default DNS server will be used. If an invalid or unreachable DNS Server is provided your `dig` requests will eventually time out. Defaults to `8.8.8.8`.\n\n### Private IPs Only\n\nIf checked, the integration will only look up private (RFC-1918) IP addresses. Domains will still be looked up unless you turn domains off via the \"Manage Integration Data\" option.\n\n### DNS Query Types for Domains\n\nOne or more query types to run via dig.  Each selected type requires a separate query to your DNS server.  If no types are selected an A Record query will be issued.  Query types only apply to domains as IPs will always be a PTR query.\n\n### Results Filter\n\nChoose which results are displayed. Defaults to always showing a result. Can also be set to only show results with an Answer section, or to only show results with an Answer or Authority section.\n\n## About Polarity\n\nPolarity is a memory-augmentation platform that improves and accelerates analyst decision making.  For more information about the Polarity platform please see:\n\nhttps://polarity.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarityio%2Fdig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolarityio%2Fdig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolarityio%2Fdig/lists"}