Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thundersquared/dnsrecordsbot
🤖 A bot to fetch DNS records
https://github.com/thundersquared/dnsrecordsbot
bot dns microservice microservices telegram telegram-bot
Last synced: about 6 hours ago
JSON representation
🤖 A bot to fetch DNS records
- Host: GitHub
- URL: https://github.com/thundersquared/dnsrecordsbot
- Owner: thundersquared
- License: mit
- Created: 2017-11-03T15:42:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T16:59:34.000Z (almost 5 years ago)
- Last Synced: 2024-08-01T19:55:48.199Z (3 months ago)
- Topics: bot, dns, microservice, microservices, telegram, telegram-bot
- Language: Go
- Homepage: https://t.me/dnsrecordsbot
- Size: 708 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
dnsrecordsbot
A Telegram bot to fetch DNS records
## A bot for what?
dnsrecordsbot is a bot heavily inspired by Spatie's project [dnsrecords.io](https://dnsrecords.io), which allows you to retrieve all DNS records of a domain name.## Tech stack
The bot is written in Go, relies on [go-telegram-bot-api](https://github.com/go-telegram-bot-api/telegram-bot-api) to consume Telegram's Bot API and loves dig command that helps gathering DNS data.## How to build
1. Clone the repo
```
git clone this repo
```
2. Install packages
```
go get -d
```
3. Build
```
go build bot.go
```
4. Run
```
BOT_TOKEN="YOUR-BOT-TOKEN" ./bot
```## Run with Docker
```docker run -dit --restart on-failure -e "BOT_TOKEN=YOUR_TOKEN_HERE" thundersquared/dnsrecordsbot```## Environment vars
| Var | Value | Required |
| --------- | ---- | --- |
| BOT_TOKEN | none | Yes |
| DEBUG | none | No |## License
The code in this repo and used modules are open-sourced software licensed under the [MIT license](LICENSE.md).