MattIPv4 / DNS-over-Discord

1.1.1.1 works from a Discord server, thanks to the 1.1.1.1 bot. Invite the bot to your Discord server to start using DNS over Discord.
https://dns-over-discord.v4.wtf/invite
Apache License 2.0
275 stars 27 forks source link

Allow setting the cd flag #64

Closed MattIPv4 closed 1 year ago

MattIPv4 commented 1 year ago

Similar to how one can currently set the +short flag for requests, allow the user to set the +cdflag option to disable DNSSEC checking.

This should be exposed as an optional option on both the dig and multi-dig commands. It should map to +cdflag in dig command that is rendered/parsed, similar to how short maps to +short.

README documentation should be updated to explain using the checking disabled option and what it does.

When checking is disabled for a query, a warning should be appended to the embed, indicating that checking was disabled for the query. :warning: cd bit set for request, DNSSEC validation disabled..

naomi-lgbt commented 1 year ago

Drive by comment to say I'd be interested in poking at this but I've got a very full plate so if someone else beats me to it that's poggers

Dhravya commented 1 year ago

Hi there! You can assign it to me :)

Dhravya commented 1 year ago

Done in #65 (you can close this issue now)