Implemented resolve of PTR records.
This commit is contained in:
1 parent
f658fddf95
commit
a9f2193fce
2 files changed
+40
No files matched your search
@@ -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))}
|
||||
|
||||
Reference in new issue
Block a user