Skip to content

portal-rs/portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portal

⚠️ This implementation is currently not production ready. However, it achieves to be in the future!

Portal is a DNS implementation written in pure Rust. It provides multiple crates and binaries to work with the DNS protocol. The protocol implementation is located in these crates:

  • crates/client: A sequential and multiplexed DNS client implementation
  • crates/common: A collection of common data types and utility functions used in other crates
  • crates/proto: The base protocol implementation
  • crates/resolver: Forwarding and recursive resolver implementations
  • crates/server: A DNS server implementation

Additionally, there are various ready-to-use binaries based on the above crates:

  • bins/pgun: A fast terminal-based DNS query tool
  • bins/portald: A DNS server with recursive resolving, caching, and DNS blocking*

* Currently, the caching and DNS blocking is not fully implemented yet.

TODOs

  • Move Config code to portal-bin
  • Make handlers more flexible (Generic)
  • Implement a DNS multiplexer to better handle requests, responses, and transaction ids
  • Split zone file loading into Lexer and Parser
  • Add READMEs to crates and bins

About

Portal is a DNS implementation written in pure Rust. It provides server, client and resolver crates.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages