Sign inSign up

thundersquared/dnsrecordsbot

By thundersquared

•Updated over 6 years ago

🤖 A bot to fetch DNS records

Image
0

50K+

thundersquared/dnsrecordsbot repository overview

⁠dnsrecordsbot

A Telegram bot to fetch DNS records

⁠

⁠A bot for what?

dnsrecordsbot is a bot heavily inspired by Spatie's project 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⁠ 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

VarValueRequired
BOT_TOKENnoneYes
DEBUGnoneNo

⁠License

The code in this repo and used modules are open-sourced software licensed under the MIT license⁠.

Tag summary

Content type

Image

Digest

Size

6.4 MB

Last updated

almost 9 years ago

docker pull thundersquared/dnsrecordsbot