Bas-Man / learning-rust-trust-dns-resolver

Learning rust while using the trust-dns-resolver crate.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latest Version Docs

Overview

This crate allows you to deconstruct an existing SPF record that might be retrieved with a dns query of type TXT.

With 0.2.0. You now have the ability to create SPF records programmatically. Check the Examples directory for sample code.

See Example Code

Lookup and deconstruct Spf record.

Run example

To see a list of available examples.

$ cargo run --example
$ cargo run --example trust-dns-demo
$ cargo run --example build-spf

Syntax Validation

This crate is not intended to provide syntax validation.
If you are looking to validate your SPF record. I would suggest you use one of the following.

  1. VamSoft.com
  2. Spf-Record.com

I am sure there are many others that could be found.

About

Learning rust while using the trust-dns-resolver crate.

License:MIT License


Languages

Language:Rust 100.0%