This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use futures::future::join_all; | |
| use std::env; | |
| use std::fs::File; | |
| use std::io::{BufRead, BufReader}; | |
| use trust_dns_client::client::{Client, SyncClient}; | |
| use trust_dns_client::op::DnsResponse; | |
| use trust_dns_client::rr::{DNSClass, Name, RData, Record, RecordType}; | |
| use trust_dns_client::udp::UdpClientConnection; | |
| async fn lookup(cfqdn: String, fqdn: String) -> Result<(String, Vec<String>), failure::Error> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from celery import chain | |
| from django.core.management.base import BaseCommand | |
| from . import tasks | |
| class Command(BaseCommand): | |
| def handle(self, *args, **kwargs): |