Skip to content

📁 A CLI tool written in Go for storing and retrieving files on the Domain Name System

Notifications You must be signed in to change notification settings

TheQueenIsDead/dnscdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNSCDN

A Golang CLI for storing files on the great Domain Name System. Who doesn't need one more reason to debug DNS?

Overview

I started wondering what limits are on DNS records, in terms of content size, which led me down the road of wondering if it would be terribly difficult to store data in chunks across a variety of records.

As it happens it's rather trivial. More about this project can be read on my blog

Usage

Download

dnscdn download -f melvin.png -d tqid.dev 

Upload

dnscdn upload -f melvin.png -d tqid.dev 

List

dnscdn list -f tqid.dev

DNSCDN files on tqid.dev:
Filename             Length     Size (kB) 
melvin.png           7          14       

Delete

dnscdn delete -f melvin.png -d tqid.dev

Help

NAME:
   DNSCDN - Store and retrieve media by use of 'free' DNS storage.

USAGE:
   DNSCDN [global options] command [command options] [arguments...]

COMMANDS:
   upload    Upload a file to a given DNS provider by means of TXT record.
   download  Retrieve file data from DNS and save it locally.
   delete    Remove all file specific records for a domain.
   list      Given a domain, enumerate for previously saved DNSCDN media.
   help, h   Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h  show help (default: false)

About

📁 A CLI tool written in Go for storing and retrieving files on the Domain Name System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages