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

Function get_fld_from_value

python3_cron_scripts/create_graphs2.py:66–74  ·  view source on GitHub ↗

Get the First Level Domain (FLD) for the provided value

(value, zone)

Source from the content-addressed store, hash-verified

64
65
66def get_fld_from_value(value, zone):
67 """
68 Get the First Level Domain (FLD) for the provided value
69 """
70 res = get_fld(value, fix_protocol=True, fail_silently=True)
71 if res is None:
72 return zone
73
74 return res
75
76
77def find_all_dns_by_zone(graph, zone, groups, dns_manager, ip_manager):

Callers 1

find_all_dns_by_zoneFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected