PDA

View Full Version : Tiger: Hosts LookupOrder (lookupd)


michaelbarker
August 4th, 2005, 11:55 PM
Thanks for reading this...

Running OSX 10.4.2 Tiger
trying* to establish a hosts file to block all those nasty annoying ads and such.. /etc/hosts is configured with my list of evil hosts
/etc/lookupd/hosts is configured "LookupOrder Cache FF DNS NI DS"
/locations/lookupd/global is configured "LookupOrder Cache FF DNS NI DS"

Output from "lookupd -configuration" is as follows between asterix:

** ConfigSource: file://etc/lookupd
LookupOrder: Cache NI DS
MaxIdleServers: 4
MaxIdleThreads: 2
MaxThreads: 64
TimeToLive: 43200
Timeout: 30
ValidateCache: YES
ValidationLatency: 15
_config_name: Global Configuration

LookupOrder: Cache FF DNS NI DS
_config_name: Host Configuration

LookupOrder: Cache FF NI DS
_config_name: Service Configuration

LookupOrder: Cache FF NI DS
_config_name: Protocol Configuration

LookupOrder: Cache FF NI DS
_config_name: Rpc Configuration

TimeToLive: 60
ValidateCache: NO
_config_name: Group Configuration

TimeToLive: 300
ValidateCache: NO
_config_name: Initgroup Configuration

LookupOrder: Cache FF DNS NI DS
_config_name: Network Configuration
**

Directory Access has both "BSD Flat File and NIS" and "NetInfo" enabled...

so, why is it not reading my hosts file...

(btw.. I got this far from panther forums...)

Thank you again for your time, and any help you might be able to provide,
-Michael

Big Jim
August 5th, 2005, 06:07 AM
Hi Michael,
I think the best thing to do is to look up the man pages for lookupd.