Extract RDNS domain and zone information from the IP address
(self, ip)
| 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, |
no test coverage detected