A Telegram bot to fetch DNS records
dnsrecordsbot is a bot heavily inspired by Spatie's project dnsrecords.io, which allows you to retrieve all DNS records of a domain name.
The bot is written in Go, relies on go-telegram-bot-api to consume Telegram's Bot API and loves dig command that helps gathering DNS data.
- Clone the repo
git clone this repo
- Install packages
go get -d
- Build
go build bot.go
- Run
BOT_TOKEN="YOUR-BOT-TOKEN" ./bot
docker run -dit --restart on-failure -e "BOT_TOKEN=YOUR_TOKEN_HERE" thundersquared/dnsrecordsbot
Var | Value | Required |
---|---|---|
BOT_TOKEN | none | Yes |
DEBUG | none | No |
The code in this repo and used modules are open-sourced software licensed under the MIT license.