Last active
March 8, 2021 13:49
-
-
Save chrisdlangton/639b63f986cd9daa89a001579c1adb87 to your computer and use it in GitHub Desktop.
Revisions
-
chrisdlangton created this gist
Oct 26, 2020 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,109 @@ """ The following python list of tuples is in the form of; (<url_segment>, <provider_name>, <ns_ignore_list>) url_segment: str = a substring match, can be of prefix suffic or any substring provider_name: str = human friendly name of the provier ns_ignore_list: list(str) = a list of url_segment substrings used to identify if the NS lookup is always going to be a match, useful when checking for provider customers usage of the service and excluding obligatory references to minimise double counting an single usage """ managed_dns = [ ('.netdc.', 'NetDC',), ('.ovh.', 'OVHcloud',), ('.digitalocean.com', 'Digital Ocean',), ('.awsdns-', 'Amazon Route 53', ['cloudfront.net']), ('.akam.net', 'Akamai Edge DNS',), ('.akadns.net', 'Akamai Edge DNS',), ('.ak-adns.net', 'Akamai Edge DNS',), ('.akamaiedge.net', 'Akamai Edge DNS',), ('.akamaitech.net', 'Akamai',), ('.akagtm.net', 'Akamai',), ('.akamaistream.net', 'Akamai',), ('.akamaihd.net', 'Akamai',), ('.akamai.com', 'Akamai',), ('.azure-dns.', 'Azure DNS',), ('.cdnetworks.', 'CDNetworks',), ('.googledomains.com', 'Google Cloud Platform',), ('.cloudflare.', 'Cloudflare',), ('.dnsimple.com', 'DNSimple',), ('.mydyndns.', 'Dyn DNS',), ('.dynect.net', 'Dyn DNS',), ('.easydns.', 'easyDNS',), ('.no-ip.', 'No-IP',), ('.telindus.', 'Telindus',), ('.ultradns.', 'UltraDNS',), ('.verisign-grs.', 'Verisign',), ('.verisign.', 'Verisign',), ('.zonomi.com', 'Zonomi',), ('.worldwidedns.net', 'WorldwideDNS',), ('.uberns.', 'Total Uptime Technologies',), ('.pointhq.com', 'PointDNS',), ('.netriplex.', 'Netriplex',), ('.loaddns.', 'LoadDNS',), ('.glbs.me', 'GSLB.me',), ('.geoscaling.', 'GeoScaling DNS2',), ('.flexdns.', 'FlexDNS',), ('.durabledns.', 'DurableDNS',), ('.dnspod.', 'DNSPod',), ('.linode.com', 'Linode',), ('.csc.com', 'CSC',), ('.name-s.net', 'CloudfloorDNS',), ('.mtgsy.', 'CloudfloorDNS',), ('.softlayer.', 'IBM Cloud',), ('.stackpathdns.', 'Stackpath',), ('.rackspace.', 'Rackspace',), ('.dnspackage.', 'Premium DNS',), ('.syrahost.', 'WordPress Hosting',), ('.premium.exchange', 'Crazy Domains Exchange Manager',), ('.bluehost.com', 'Bluehost',), ('.siteground.biz', 'SiteGround',), ('.zeit.world', 'Zeit',), ('.zeit-world.', 'Zeit',), ('.ipmanagerinc.', 'IPM.Domains',), ('.domaincontrol.com', 'GoDaddy',), ('.cloudns.net', 'ClouDNS',), ('.dnsmadeeasy.com', 'DNSMadeEasy',), ('.zilore.net', 'Zilore',), ('.nsone.net', 'NS1',), ('.oraclevcn.com', 'Oracle Cloud Infrastructure',), ('.constellix.com', 'Constellix',), ('.name-services.com', 'Namecheap Hosting',), ('.registrar-servers.com', 'Namecheap Hosting',), ('.namecheaphosting.com', 'Namecheap Hosting',), ('.powerdns.net', 'PowerDNS',), ('.zoneedit.com', 'ZoneEdit',), ('.yahoo.com', 'Yahoo!',), ('.garanntor.', 'Garanntor',), ('.upperlink.', 'Upperlink',), ('.terra.', 'Terra Domínio',), ('.registro.br', 'Registro.br',), ('.register.com', 'Register.com',), ('.myhosting.com', 'myhosting.com',), ('.hover.com', 'Hover',), ('.gandi.net', 'Gandi',), ('.charlestonroadregistry.com', 'Google Registry',), ('.eurodns.com', 'EuroDNS',), ('.enom.com', 'eNom',), ('.justhost.com', 'justhost',), ('.melbourneit.net', 'Melbourne IT',), ('.ezyreg.com', 'Melbourne IT',), ('.namesecure.com', 'NameSecure',), ('.dreamhost.com', 'DreamHost',), ('everydns.net', 'EveryDNS',), ('.worldnic.com', 'Network Solutions DNS',), ('.blacknight.com', 'Blacknight DNS',), ('.blacknightsolutions.com', 'Blacknight DNS',), ('1and1.com', '1&1 DNS',), ('.123-reg.', '123 Reg',), ('.upcloud.com', 'UPCloud'), ('.vultr.com', 'Vultr'), ('.aliyun.com', 'Alibaba Cloud DNS'), ('.ramnode.com', 'RamNode'), ('.ddos-guard.net', 'DDOS-GUARD'), ('.networktransit.net', 'NetDepot'), ('.hostingholdings.com', 'NetDepot'), ('.digitalpacific.', 'Digital Pacific'), ('.aussiedns.', 'Digital Pacific'), ('.auserver.', 'Digital Pacific'), ]