Skip to content

fucksophie/yourflare

Repository files navigation

yourflare

Version: 5

Talking points:

  1. Opensource DNS managment
  2. Supports cookie-based sessions with HTTPonly
  3. Written in Preact/Tailwind using Fresh
  4. Extremely quick setup,
    4.1 Move config/example.settings.ts to config/settings.ts
    4.2 Edit the renamed settings file
    4.3 Run deno task start.
  5. Full integration with Coredns through src/coredns.ts
  6. Automatic DNS Zonefile creation and managment
  7. Full DNSSEC/DS record authenication
  8. Account recovery via Email & password changing

How do I gain admin status?

  1. Run the app for the first time
  2. Create a user
  3. Go to the /api/status endpoint
  4. Grab your ID (save it, or don't close that tab)
  5. Shut down the App
  6. Run sqlite3 yourflare.db and run UPDATE users SET admin = TRUE WHERE id = 'THEIDYOUCOPIED'
  7. Start it back up!

Migrate from v4 to v5

Version 5 moves the passwordHash.ts file to
settings.ts -> { passwordHash: string }.

Version 5 also adds email sending and password recovery and more. This requires you to setup a SMTP server in your config. Check the example settings.

Requirements

Yourflare requires the dnssec-keygen and the dnssec-dsfromkey utilities. Install them via sudo apt-get install bind9utils

Why?

My domain provider doesn't allow me to use more than 10 A records, and using a wildcard is kind of a pain since I don't know what I'm hosting.

Cloudflare is also a monolithic company that basically controls the whole internet, and since I don't want my own domains to be apart of it's systems, I wrote my own DNS mangment software.

About

Opensource DNS managment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published