MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / net_dns

Function net_dns

network_diagnostics.py:2011–2014  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2009 rogue_servers = sorted({(m.get('server_id') or m['src_ip']) for m in rogue_msgs})
2010 for sid in rogue_servers:
2011 info = servers.get(sid, {})
2012 reasons.append(f"rogue DHCP server {sid} answering on the UNTRUSTED port "
2013 f"{untrusted}" + (f" (offers gateway {info.get('router')})"
2014 if info.get('router') else "")
2015 + " — a DHCP server must never appear on the client side")
2016
2017 starvation = len(client_macs)

Callers

nothing calls this directly

Calls 3

_logFunction · 0.85
do_dns_doctorFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected