Implemented resolve of PTR records.

This commit is contained in:
Revertron
2021-05-16 16:05:22 +02:00
parent f658fddf95
commit a9f2193fce
2 changed files with 40 additions and 0 deletions
+1
View File
@@ -132,6 +132,7 @@ pub fn is_yggdrasil_record(record: &DnsRecord) -> bool {
DnsRecord::NS { .. } => {}
DnsRecord::CNAME { .. } => {}
DnsRecord::SOA { .. } => {}
DnsRecord::PTR { .. } => {}
DnsRecord::MX { .. } => {}
DnsRecord::TXT { .. } => {}
DnsRecord::AAAA { addr, .. } => { return is_yggdrasil(&IpAddr::from(*addr))}