Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.3: A bit of detail on /etc/hosts and Directory Access Network
For those who use /etc/hosts (or other configuration information in /etc), it seems that Panther has changed how to activate them. This time around, the BSD flat files are automatically checked on in Directory Access, but that's not all there is to it. If you click "Configure" after selecting the BSD flat files, you'll notice this message:
The node /BSD/local must be added to the Authentication or Contacts tabs for the configuration information in /etc/hosts to be used.
Just a heads-up for the Panther crowd. I'm not sure who needs information set in both tabs and who doesn't, but this is where the last of the activation is done.
    •    
  • Currently 2.71 / 5
  You rated: 5 / 5 (7 votes cast)
 
[11,737 views]  

10.3: A bit of detail on /etc/hosts and Directory Access | 5 comments | Create New Account
Click here to return to the '10.3: A bit of detail on /etc/hosts and Directory Access' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: A bit of detail on /etc/hosts and Directory Access
Authored by: Mikey-San on Nov 21, '03 12:38:24PM

But oddly enough, this past weekend (after I submitted the hint), I found that without that node in either tab, /etc/hosts worked anyway. My install was an archive/install, preserving users and network settings, if anyone thinks this might be a clue.

Ideas? Is the addition of the node(s) necessary for your hosts file to work?



[ Reply to This | # ]
10.3: A bit of detail on /etc/hosts and Directory Access
Authored by: nevyn on Nov 21, '03 01:03:18PM

The Hosts file works nicely without the need of any configuration at all in Panther.

---
?



[ Reply to This | # ]
10.3: A bit of detail on /etc/hosts and Directory Access
Authored by: Mikey-San on Nov 21, '03 09:15:25PM

Yeah, like I said, it's strange. The notice is there in DA, but you don't have to touch anything for hosts to work.

Anyone have some reasoning here? I'm stumped.



[ Reply to This | # ]
I have the same problem ... changes to hosts file won't work until I restart machine
Authored by: os4 on Dec 09, '03 04:53:15PM

I have had this problem since Panther ... I did a clean install; no upgrade. If anyone comes up with a specific solution to this, thank you in advance.



[ Reply to This | # ]
Solution: changes to hosts file won't work until I restart machine
Authored by: Skeeter on Jan 27, '04 03:07:26PM

Verify that lookupd is set to use flat files (/etc/hosts) for hostname lookup. Run the command "lookupd -configuration". Look for the lines like this:

LookupOrder: Cache FF DNS NI DS
_config_name: Host Configuration

That means to check the cache, then the file. The problem is the cache.

Run the command "lookupd -flushcache".

That should do it.



[ Reply to This | # ]