Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!pasteur!ucbvax!SRI-NIC.ARPA!TCP-IP-RELAY From: TCP-IP-RELAY@SRI-NIC.ARPA Newsgroups: comp.protocols.tcp-ip Subject: (none) Message-ID: <8901160606.AA20185@ucbvax.Berkeley.EDU> Date: 16 Jan 89 06:06:34 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 47 HELO ADMIN.BYU.EDU TICK 8340 MAIL FROM: RCPT TO: DATA Received: by BYUADMIN (Mailer R2.01A) id 8340; Sun, 15 Jan 89 19:42:25 MST Date: Sun, 15 Jan 89 13:18:31 PST Reply-To: Sender: "(TCP-IP ARPA Discussions)" From: Mark Crispin Subject: YP, /etc/hosts, domains To: "WCC Participate Redistribution (U Iowa)" My workstation is a NeXT that seems to have more or less vanilla SUN type networking software. I was forced to turn on YP in order to get any form of domain lookups to work at all. I set up an /etc/resolv.conf file and rebooted, but still no host lookups would work unless the entry was in /etc/hosts. Since that time, I've been continuously forced to ask the owner of the YP server just to get the most trivial things done, like getting new services added to the list for (development) software only I use. My workstation's /etc/services file is completely ignored. I've not lunk my password file into the YP namespace, and I have no interest in any of the "features" of YP. In other words, I'd dearly love to turn YP off, if only I could get ordinary domain lookups working. How do I do this? Do I have to run a domain server too, just to get the resolver working? Also, while I have everybody's attention, how do I load private information into my machine's resolver's cache? I want to put in certain RR's that only my machine should know. They're totally outside of the domain my machine lives in. I just want the cache at startup to have these RR's (with more or less infinite timeouts) as if they came from the outside. In the TOPS-20 world, this was done by a "CLOAD " in DOMAIN:RESOLV.CONFIG. Yet another thing; how do I persuade Unix to use uppercase or mixed case for hostnames? My machine's hostname is set to "Tomobiki-Cho" (and is reported as such by hostname), but gethostbyname("Tomobiki-Cho") insists upon returning an all lowercase string. It even does this for hostnames in the outside world whose domain servers are known to return uppercase strings in the RR's! ------- . QUIT