Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /etc/hosts config



Michael Bartosh wrote on 1/1/70 8:51:

> At 6:30 PM -0400 4/29/03, Ezra wrote:
>> TO ADD HOSTS:
>> vi /etc/hosts
>> niload hosts . < /etc/hosts
>> nidump hosts .
>
> This is not necessary. 10.2 respects /etc/hosts.

Respects as in uses if the FFagent is configured, or just picks up
automatically?

Most processes pick it up straight away, eg: traceroute, ping etc. nslookup
does its own thing so I know that won't work. what I need is lookupd to use
the values in /etc/hosts before DNS. which according to lookupd
-configuration it is doing for all except Global Configuration:

[jk:~] jk% lookupd -configuration

ConfigSource: default
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


I expected that having Host Configuration order in lookupd correct would do
the job... it seems not.

has anyone successfully changed the agent order in lookupd and knows the
easiest method?

thanks,

justin.
_______________________________________________
macos-x-server mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macos-x-server
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.