MCPcopy Create free account
hub / github.com/adobe/Marinus / extract_rdns_info

Method extract_rdns_info

python3_cron_scripts/libs3/IPManager.py:556–567  ·  view source on GitHub ↗

Extract RDNS domain and zone information from the IP address

(self, ip)

Source from the content-addressed store, hash-verified

554 return zones, domains
555
556 def extract_rdns_info(self, ip):
557 """
558 Extract RDNS domain and zone information from the IP address
559 """
560 rnds_value = self.find_reverse_dns(ip)
561
562 if rnds_value is None:
563 return "", None
564
565 rdns_zone = ZoneManager.get_root_domain(rnds_value, None)
566
567 return rnds_value, rdns_zone
568
569 def insert_record(
570 self,

Callers 1

insert_recordMethod · 0.95

Calls 2

find_reverse_dnsMethod · 0.95
get_root_domainMethod · 0.80

Tested by

no test coverage detected