An open API service indexing awesome lists of open source software.

https://github.com/hrbrmstr/rpdns

R port of CIRCL.LU's PyPDNS Python module https://github.com/CIRCL/PyPDNS
https://github.com/hrbrmstr/rpdns

circl-lu dns passive-dns r r-cyber rstats

Last synced: 7 months ago
JSON representation

R port of CIRCL.LU's PyPDNS Python module https://github.com/CIRCL/PyPDNS

Awesome Lists containing this project

README

          

---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console
---

# rpdns

Query 'CIRCL' Passive 'DNS' 'API'

## Description

'CIRCL' 'Passive DNS' is a database storing historical 'DNS' records from various resources including malware analysis or partners. The 'DNS' historical data is indexed, which makes it searchable for incident handlers, security analysts or researchers.

It is highly suggested that your CIRCL username and password be stored in `CIRCL_USER` and `CIRCL_PASSWORD` (respectively) for the most efficient and secure use of this package.

Output follows the [Passive DNS - Common Output Format](https://datatracker.ietf.org/doc/draft-dulaunoy-dnsop-passive-dns-cof/).

This is a "package"-ized version of @michaelschratt's [script](https://github.com/michaelschratt/rpdns).

## What's Inside The Tin

- `pdns.query`: Query CIRCL.LU Passive DNS API
- `pdns_query`: Query CIRCL.LU Passive DNS API

The following functions are implemented:

## Installation

```{r eval=FALSE}
devtools::install_github("hrbrmstr/rpdns")
```

```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}
options(width=120)
```

## Usage

```{r message=FALSE, warning=FALSE, error=FALSE}
library(rpdns)

# current verison
packageVersion("rpdns")
```

```{r message=FALSE, warning=FALSE, error=FALSE}
pdns_query("www.microsoft.com")

pdns_query("www.circl.lu")
```