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

Function get_fld_from_value

python3_cron_scripts/marinus_dns.py:32–40  ·  view source on GitHub ↗

Get the root domain (FLD) for the provided value

(value, zone)

Source from the content-addressed store, hash-verified

30
31
32def get_fld_from_value(value, zone):
33 """
34 Get the root domain (FLD) for the provided value
35 """
36 res = get_fld(value, fix_protocol=True, fail_silently=True)
37 if res is None:
38 return zone
39
40 return res
41
42
43def find_sub_zones(all_dns):

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected