All Projects → PoomSmart → LetMeBlock

PoomSmart / LetMeBlock

Licence: MIT license
Make mDNSResponder care more about /etc/hosts

Programming Languages

Logos
282 projects
shell
77523 projects
Makefile
30231 projects

LetMeBlock

Makes mDNSResponder care about /etc/hosts on iOS 12+, and load all entries on iOS 9+

In order to load all entries on iOS 9+, the memory limits defined in Version4 > Daemon > Override > com.apple.mDNSResponder.reloaded of the jetsam properties plist must be increased. This can be done either by manually editing the plist (and rebooting) or using jetsamctl's API, see here.

If in any cases the tweak does not seem to work, you either

  • Reinstall LetMeBlock from your package manager of choice
  • Run the command killall -9 mDNSResponder; killall -9 mDNSResponderHelper as root

Compiling

make

If xpc.h isn't found, run:

sudo ln -s $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/xpc $(xcode-select -p)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/xpc
sudo ln -s $(xcode-select -p)/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/launch.h  $(xcode-select -p)/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/launch.h
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].