Crates.io | decon-spf |
lib.rs | decon-spf |
version | 0.2.7 |
source | src |
created_at | 2021-06-15 07:31:55.427949 |
updated_at | 2024-04-28 06:26:42.407904 |
description | This is a simple tool that allows you to deconstruct an existing SPF record that might be retreived in a normal DNS TXT lookup. With version 0.2.0 you can now also construct a new Spf record. |
homepage | |
repository | https://github.com/Bas-man/rust-decon-spf |
max_upload_size | |
id | 410278 |
size | 201,110 |
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.
Lookup and deconstruct Spf record.
To see a list of available examples.
$ cargo run --example
$ cargo run --example trust-dns-demo
$ cargo run --example build-spf
$ cargo run -F strict-dns --example build-spf-strict
$ cargo run -F serde --example serde-demo
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:
I am sure there are many others that could be found.