Skip to content

artech-git/Micro-lane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micro-lane 🚓

A blazing-fast & secure Rust based DNS server ⚡️

Overview:

This repository houses a pure-Rust implementation of a high-performance, flexible DNS server, built with efficiency and maintainability in mind. Leveraging Rust's powerful features, dns-server offers:

  • Native performance: Rust's compiled nature ensures lightning-fast execution, making it ideal for demanding DNS workloads. ️
  • Security: Rust's memory safety and built-in security features minimize vulnerabilities and enhance trust. ️
  • Flexibility: The codebase is designed for customization and extension, allowing you to tailor it to your specific needs.
  • Cross-platform: Runs seamlessly on various operating systems, providing wide deployment options.

Getting Started:

  1. Requirements:

  2. Clone the repository:

  3. Build and run:

    cargo run --release

    This will start the server on the default port (53).

Live Deployment:

You can query this dns server live on following IP: 152.70.61.218 deployed over port: 8153, query for dns name

   % dig github.com @152.70.61.218 -p 8153

Configuration:

The server supports configuration via a YAML file named config.yml in the project's root directory. Options include:

  • Port: Specify the DNS listening port (default: 53)
  • Logging: Configure logging level and output
  • Zone files: Define DNS zones and records
  • Forwarders: Set up DNS forwarding for zones not served locally

Features:

  • Efficient DNS resolution leveraging Rust's concurrency and low-level control.
  • Customizable DNS zone management for flexible configuration. ️
  • Support for various record types (A, AAAA, CNAME, etc.) to meet diverse DNS needs.
  • Clean and well-documented codebase for easy understanding and contribution.

Contributing:

We welcome contributions to make dns-server even better.

License:

This project is licensed under the MIT License (see LICENSE).

About

A DNS server baked in Rust 🦀

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages