Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DNS resolving without NIS or named
@ 1994-12-09 20:46 Christian Worley
  1994-12-10  6:45 ` Andy Jacobson
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Worley @ 1994-12-09 20:46 UTC (permalink / raw)


I'm having a very hard time configuring an Alpha running OSF/1 v2 to
use only DNS for a name server.  I've been living w/ this problem
for months, and can't figure it out.

I'm at my wits end.  It really feels like pilot error, but I haven't
found out what I'm doing wrong.  Any help would be appreciated.

                        Inet Gateway
    --------            -----------
    | DNS  |~~~modem~~~~| Sol 2.3 |___
    --------            -----------  |  Local net
                                     |  --------
                                     |--| PC's | 
                                     |  --------
                                     |  -----------
                                     |--| Sol 1.x |
                                     |  -----------
                                     |  -----------
                                     |--| OSF/1v2 |
                                     |  -----------
                                     .
                                     .
                                     .
I have a remote domain name server that sits on the other side of a modem
from my sparc running Sol 2.3 acting as a gateway.  The 2.3 machine uses 
the nsswitch file to say "consult DNS first".  That works fine.  PC's
on my local side of the network have no trouble using this gateway
to consult the remote name server (that's on the other side of the modem
from the machine running 2.3).  They work fine too.  My Sol 1.x Sparc
had a problem resolving names, but I found out about resolv+, and
that solved the problem there (it also has a mechanism to say:
"consult hosts, then DNS").
 
The problem is my Alpha's running OSF/1 v2 on my local side.  

The routing information is fine.  I can do any remote accesses across the 
net and thru the gateway from these OSF/1 machines, as long as 
I use IP addresses and not names.
 
The Sys Admin manual says that all I need to do is setup
/etc/resolv.conf.  So I set it up as:
 
domain altatech.com
nameserver 198.60.22.2
 
where my domain is altatech.com, and the name server is 198.60.22.2.
 
When I do this, nslookup works on the OSF/1 machines, but ping, rlogin, 
telnet, ... all consult /etc/hosts then immediately give up w/o consulting 
the remote host.  Prior to getting resolv+, my Sol 1.x machine acted the
same way (nslookup worked, but nothing else).
 
I did configure and start BIND on one of the OSF/1 machines, setting
the authoratative DNS server to the remote machine, and that OSF1 machine
started resolving names just fine.  But...
 
I can't use a local named server since this frequently needs to
talk to an authoratative host, which is across the modem, which might
be hung up, which (using Sol 2.3's PPP) causes it to dial up, causing
more charges, only to reload the named database that hasn't changed
anyway.
 
So I can't use a local named server or NIS; I've got to use DNS and
/etc/hosts.
 
Resolv+ was initally developed using ultrix as a model.  I tried building
it for OSF/1, there were a few, easily fixed, compiler bugs.  But, making
the shared objects was futile.  I didn't find any documentation for
making shared objects that lead me to a way to de-archive libc.so,
replace the necessary functions, and rebuild it.  Anybody know how
to do this?

It should all be so simple...what am I doing wrong?
 
Thanks in advance,

Chris

--
  When I die, please throw my ashes upon Bill Gates
   --for once, let him clean up after me!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1994-12-13  0:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-09 20:46 DNS resolving without NIS or named Christian Worley
1994-12-10  6:45 ` Andy Jacobson
1994-12-12 17:58   ` Cliff Browning
1994-12-13  0:24     ` Christian Worley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox