DNS lookup priorities -- hosts file
Hi,
I need to make the hosts file top priority in lookups. Could someone advise me on whether or not the following procedure will work? Do I need to do anything else to make the hosts file itself top priority or is that implied in "strict unicast ordering"? I'm using OS X 10.6.8 right now. If there is a better way to do it, let me know! 🙂
Open the com.apple.mDNSResponder.plist file in a text editor (the file is located in /System/Library/LaunchDaemons/ ).
Locate the following key in the file:
<key>EnableTransactions</key>
<true/>
</dict>Between the last <true/> and </dict>, add the following lines:
<key>StrictUnicastOrdering</key>
<true/>Use Terminal to unload and load mDNSResponder.
Thanks
Bob
Mac OS X (10.6.8)