Last active
November 14, 2016 10:51
-
-
Save carlashley/42d4ca630c6267337c6b28a885856c79 to your computer and use it in GitHub Desktop.
mDSN Debug states
This file contains 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
#!/usr/bin/python | |
# A dictionary detailing what logging is configured for mDNS debugging | |
from SystemConfiguration import ( | |
SCDynamicStoreCreate, | |
SCDynamicStoreCopyValue, | |
) | |
ds = SCDynamicStoreCreate(None, 'mDNS', None, None) | |
result = SCDynamicStoreCopyValue(ds, 'State:/Network/mDNSResponder/DebugState') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment