Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.1.1.1] Update DNS over Discord #674

Merged
merged 3 commits into from
Jan 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 49 additions & 9 deletions products/1.1.1.1/src/content/fun-stuff/dns-over-discord.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To start using the DNS over Discord bot, invite it to your Discord server using

## dig command

Once the bot is in your server, type `/dig` to being using the bot's main command -- performing DNS lookups.
Once the bot is in your server, type `/dig` to begin using the bot's main command -- performing DNS lookups.
This will provide a native interface within Discord that allows you to specify the domain to lookup, an optional DNS record type and an optional flag for a short result.

Due to limitations in Discord, the `/dig` command can only offer 10 different DNS record types, and will default to 'A' records if none is specified.
Expand All @@ -36,10 +36,12 @@ Due to limitations in Discord, the `/dig` command can only offer 10 different DN

### Examples

![dig domain: cloudflare.com](../static/dns-over-discord/dig-command-example-1.png)\
![dig domain: cloudflare.com](../static/dns-over-discord/dig-command-example-1.png)

_`/dig domain: cloudflare.com`_

![dig domain: cloudflare.com type: AAAA short: True](../static/dns-over-discord/dig-command-example-2.png)\
![dig domain: cloudflare.com type: AAAA short: True](../static/dns-over-discord/dig-command-example-2.png)

_`/dig domain: cloudflare.com type: AAAA short: True`_

## multi-dig command
Expand Down Expand Up @@ -81,12 +83,38 @@ Please provide a space-separated list of valid DNS record types to lookup, any i

### Examples

![multi-dig domain: cloudflare.com types: A AAAA](../static/dns-over-discord/multi-dig-command-example-1.png)\
![multi-dig domain: cloudflare.com types: A AAAA](../static/dns-over-discord/multi-dig-command-example-1.png)

_`/multi-dig domain: cloudflare.com types: A AAAA`_

![multi-dig domain: cloudflare.com types: DNSKEY short: True](../static/dns-over-discord/multi-dig-command-example-2.png)\
![multi-dig domain: cloudflare.com types: DNSKEY short: True](../static/dns-over-discord/multi-dig-command-example-2.png)

_`/multi-dig domain: cloudflare.com types: DNSKEY short: True`_

## whois command

The `/whois` command allows you to perform an RDAP/WHOIS lookup right in Discord to find who is behind a given domain name, an IP address, or an ASN.

![whois command](../static/dns-over-discord/whois-command.png)

### Examples

![whois query: cloudflare.com](../static/dns-over-discord/whois-command-example-1.png)

_`/whois query: cloudflare.com`_

![whois query: 104.16.132.229](../static/dns-over-discord/whois-command-example-2.png)

_`/whois query: 104.16.132.229`_

![whois query: 2606:4700::6810:84e5](../static/dns-over-discord/whois-command-example-3.png)

_`/whois query: 2606:4700::6810:84e5`_

![whois query: 13335](../static/dns-over-discord/whois-command-example-4.png)

_`/whois query: 13335`_

## Other commands

The bot also has a set of helper commands available to get more information about the bot and quick links.
Expand All @@ -95,29 +123,41 @@ The bot also has a set of helper commands available to get more information abou

The `/help` command provides in-Discord documentation about all the commands available in the 1.1.1.1 DNS over Discord bot.

![help command](../static/dns-over-discord/help-command.png)\
![help command](../static/dns-over-discord/help-command.png)

_`/help`_

### privacy command

The `/privacy` command displays the privacy policy notice for using the 1.1.1.1 DNS over Discord bot.
This notice can also be viewed at [https://dns-over-discord.v4.wtf/privacy](https://dns-over-discord.v4.wtf/privacy).

![privacy command](../static/dns-over-discord/privacy-command.png)\
![privacy command](../static/dns-over-discord/privacy-command.png)

_`/privacy`_

### github command

The DNS over Discord bot is open-source, and the `/github` command provides a quick link to access the GitHub repository.
The GitHub repository can be accessed at [https://github.com/MattIPv4/DNS-over-Discord/](https://github.com/MattIPv4/DNS-over-Discord/).

![github command](../static/dns-over-discord/github-command.png)\
![github command](../static/dns-over-discord/github-command.png)

_`/github`_

### invite command

The `/invite` command provides the user with a quick link to invite the 1.1.1.1 DNS over Discord bot to another Discord server.
The bot can be invited at any time with [https://cfl.re/3nM6VfQ](https://cfl.re/3nM6VfQ).

![invite command](../static/dns-over-discord/invite-command.png)\
![invite command](../static/dns-over-discord/invite-command.png)

_`/invite`_

---

## Development

The DNS over Discord bot is deployed on [Cloudflare Workers](https://workers.cloudflare.com/).

You can find the source code for the bot on GitHub, as well as information on getting started with contributing to the project, at [https://github.com/MattIPv4/DNS-over-Discord/](https://github.com/MattIPv4/DNS-over-Discord/).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.