Tries to find out if domain exists leveraging different DNS checks
(domain_name)
| 131 | return False |
| 132 | |
| 133 | def domain_exists(domain_name): |
| 134 | """ |
| 135 | Tries to find out if domain exists leveraging different DNS checks |
| 136 | """ |
| 137 | if domain_a_record_exists(domain_name): |
| 138 | return True |
| 139 | if domain_mx_record_exists(domain_name): |
| 140 | return True |
| 141 | else: |
| 142 | return False |
| 143 | |
| 144 | def get_domain_file(dm_args): |
| 145 | """downloads json file with domain defintions |
no test coverage detected