use crate::DnsRecord;
pub mod alidns;
pub mod baiducloud;
pub mod bluecatv2;
pub mod azuredns;
pub mod arvancloud;
pub mod autodns;
pub mod bunny;
pub mod cloudflare;
pub mod cloudns;
pub mod constellix;
pub mod ddnss;
pub mod cpanel;
pub mod desec;
pub mod digitalocean;
pub mod dnsimple;
pub mod dnsmadeeasy;
pub mod dreamhost;
pub mod duckdns;
pub mod dynu;
pub mod easydns;
pub mod exoscale;
pub mod freemyip;
pub mod gandiv5;
pub mod gcore;
pub mod glesys;
pub mod godaddy;
pub mod domeneshop;
pub mod edgedns;
pub mod google_cloud_dns;
pub mod hetzner;
pub mod hostingde;
pub mod huaweicloud;
pub mod ibmcloud;
pub mod hostinger;
pub mod hurricane;
#[cfg(feature = "test_provider")]
pub mod in_memory;
pub mod infomaniak;
pub mod ionos;
pub mod ipv64;
pub mod joker;
pub mod linode;
pub mod luadns;
pub mod mythicbeasts;
pub mod namecheap;
pub mod namedotcom;
pub mod namesilo;
pub mod netcup;
pub mod netlify;
pub mod nifcloud;
pub mod ns1;
#[cfg(any(feature = "ring", feature = "aws-lc-rs"))]
pub mod oraclecloud;
pub mod lightsail;
pub mod infoblox;
pub mod inwx;
pub mod ovh;
#[cfg(feature = "test_provider")]
pub mod pebble;
pub mod plesk;
pub mod porkbun;
pub mod rfc2136;
pub mod route53;
pub mod scaleway;
pub mod safedns;
pub mod spaceship;
pub mod tencentcloud;
#[cfg(any(feature = "ring", feature = "aws-lc-rs"))]
pub mod transip;
pub mod vercel;
pub mod vultr;
pub mod websupport;
#[cfg(any(feature = "ring", feature = "aws-lc-rs"))]
pub mod volcengine;
#[cfg(any(feature = "ring", feature = "aws-lc-rs"))]
pub mod yandexcloud;
pub mod ultradns;
impl DnsRecord {
pub fn priority(&self) -> Option<u16> {
match self {
DnsRecord::MX(record) => Some(record.priority),
DnsRecord::SRV(record) => Some(record.priority),
_ => None,
}
}
}