Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
/ racine Public archive

A basic DNS server with geo-lookup for multi-region routing.

License

Notifications You must be signed in to change notification settings

halcyonnouveau/racine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

racine

crates

A basic DNS server with geo-lookup for multi-region routing.

Getting Started

NOTE: racine requires the GeoLite2 Country database from MaxMind. For more information and to sign up for the download, go here.

Installing

Download the latest binary from the releases page.

Or install racine with cargo.

cargo install racine

Usage

Create a YAML configuration file with your records:

records:
  # basic example
  - name: racine.fun # domain name
    type: A          # DNS record type
    value: 127.0.0.1 # value of record
    ttl: 30          # ttl (optional) defaults to 86400
  # example with geolocation
  - name: racine.fun
    type: CNAME
    value: au.racine.fun. # default value
    geo:
      - country: NZ # ISO country code
        value: nz.racine.fun.
      - continent: EU
        value: eu.racine.fun.

Run racine with:

racine --config /path/to/config.yaml --mmdb /path/to/geolite.mmdb

About

A basic DNS server with geo-lookup for multi-region routing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages