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

https://github.com/marirs/bigdomaindata-whois-rs

Convert bigdomain data whois from CSV to Mongo
https://github.com/marirs/bigdomaindata-whois-rs

big-domain-data bigdomaindata csv historical-whois mongodb rust whois whois-client

Last synced: 2 months ago
JSON representation

Convert bigdomain data whois from CSV to Mongo

Awesome Lists containing this project

README

          

# Convert bigdomain data whois from CSV to Mongo

Converts [BigDomain](https://www.bigdomaindata.com/) data from CSV to Mongo.

### Requirements
- [Rust](https://www.rust-lang.org/tools/install) - If you want to compile from source.
- [MongoDB](https://www.mongodb.com/try/download/community)
- [BigDomain](https://www.bigdomaindata.com/) data in CSV format [Samples Download](https://www.bigdomaindata.com/free-whois-database/)

### Help
```bash
$ ./target/debug/whois --help
Usage: whois [OPTIONS]

Options:
-f, --csv-files-path The path to the CSV files [default: ./data]
-h, --mongo-host MongoDB host [default: localhost]
-p, --mongo-port MongoDB port [default: 27017]
-d, --mongo-db MongoDB database [default: whois]
-c, --mongo-collection MongoDB collection [default: feeds]
-t, --threads Number of threads to use [default: 512]
--mongo-user MongoDB User [default: ]
--mongo-password MongoDB Password [default: ]
--debug Enable debug mode
--help
-V, --version Print version
```

### Usage
- Using default settings
```bash
./whois
```
- Using custom settings
```bash
./whois --csv-files-path /path/to/csv/files --mongo-host 10.10.10.10 --mongo-port 27017 --mongo-db whois --mongo-collection feeds
```

---
License: MIT