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

* Re: DNS resolving without NIS or named
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Jacobson @ 1994-12-10  6:45 UTC (permalink / raw)


In article <3cafmk$a4p@xmission.xmission.com> maddog@altatech.com writes:
>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.

<stuff about the local topography deleted>

>The Sys Admin manual says that all I need to do is setup
>/etc/resolv.conf.  So I set it up as:

That's by no means all of it.

<more stuff deleted>

>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

Nowhere in the foregoing discussion is there any mention of /etc/svc.conf,
which in all probability is the answer to your needs. Have a look at this
file, or run bindsetup to make your machine a client (does the same thing).
Note, if you were to go and install Resolv+, you will probably loose all
the extra functionality that OSF/1 has, and you'd be replacing the already
working gethostent() routines with the same things. Probably the reason you
didn't catch this is that the file is called host.conf in Resolv+ instead of 
svc.conf by DEC. And god knows I would hope that the shared clibs on the Alpha
don't need as much replacing as the very broken ones on SunOS did (though
I've already found a few possible bugs <sigh>).


A.J.

-- 
Andy Jacobson   <afj@DrMemory.nuc.ucla.edu>  <afj@chem.ucla.edu>


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

* Re: DNS resolving without NIS or named
  1994-12-10  6:45 ` Andy Jacobson
@ 1994-12-12 17:58   ` Cliff Browning
  1994-12-13  0:24     ` Christian Worley
  0 siblings, 1 reply; 4+ messages in thread
From: Cliff Browning @ 1994-12-12 17:58 UTC (permalink / raw)



In article <3cbipt$ah2@news.mic.ucla.edu>, afj@DrMemory.nuc.ucla.edu (Andy Jacobson) writes:
From: afj@DrMemory.nuc.ucla.edu (Andy Jacobson)
Newsgroups: comp.unix.osf.osf1
Subject: Re: DNS resolving without NIS or named
Date: 10 Dec 1994 06:45:16 GMT
Organization: UCLA Dept. of Pharmacology, Los Angeles, CA 90024-6948
Lines: 34
Sender: afj@DrMemory.nuc.ucla.edu (Andy Jacobson)
Reply-To: afj@DrMemory.nuc.ucla.edu
NNTP-Posting-Host: drmemory.nuc.ucla.edu

In article <3cafmk$a4p@xmission.xmission.com> maddog@altatech.com writes:
>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.

<stuff about the local topography deleted>

>The Sys Admin manual says that all I need to do is setup
>/etc/resolv.conf.  So I set it up as:

That's by no means all of it.

<more stuff deleted>

>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

Nowhere in the foregoing discussion is there any mention of /etc/svc.conf,
which in all probability is the answer to your needs. Have a look at this
file, or run bindsetup to make your machine a client (does the same thing).
Note, if you were to go and install Resolv+, you will probably loose all
the extra functionality that OSF/1 has, and you'd be replacing the already
working gethostent() routines with the same things. Probably the reason you
didn't catch this is that the file is called host.conf in Resolv+ instead of 
svc.conf by DEC. And god knows I would hope that the shared clibs on the Alpha
don't need as much replacing as the very broken ones on SunOS did (though
I've already found a few possible bugs <sigh>).


A.J.

-- 
Andy Jacobson   <afj@DrMemory.nuc.ucla.edu>  <afj@chem.ucla.edu>

=========================================================================

I have an osf system that runs as a standalone system, but uses another system
as a domain name server.

If I recall I created a file call resolv.conf. In it are my domain
and nameserver addresses. I.E:

domain 		eng.fsu.edu
nameserver      server_address
nameserver      server_address

Then I ran the bindsetup and set it up as a client.

In my svc.conf file everything is set to local. I don't recall editing 
this file so I believe that bindsetup set it that way.

Hope this helps.

Cliff

--
Cliff Browning
FAMU/FSU College of Engineering
E-mail: cliff@ealpha1.eng.fsu.edu


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

* Re: DNS resolving without NIS or named
  1994-12-12 17:58   ` Cliff Browning
@ 1994-12-13  0:24     ` Christian Worley
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Worley @ 1994-12-13  0:24 UTC (permalink / raw)


Cliff Browning (cliff@ealpha1.eng.fsu.edu) wrote:

: In article <3cafmk$a4p@xmission.xmission.com> maddog@altatech.com writes:
: >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.

: Nowhere in the foregoing discussion is there any mention of /etc/svc.conf,
: which in all probability is the answer to your needs. Have a look at this
: file, or run bindsetup to make your machine a client (does the same thing).
: Note, if you were to go and install Resolv+, you will probably loose all
: the extra functionality that OSF/1 has, and you'd be replacing the already
: working gethostent() routines with the same things. Probably the reason you
: didn't catch this is that the file is called host.conf in Resolv+ instead of 
: svc.conf by DEC. And god knows I would hope that the shared clibs on the Alpha
: don't need as much replacing as the very broken ones on SunOS did (though
: I've already found a few possible bugs <sigh>).

Thankyou,

/etc/svc.conf and the svcsetup program did the trick.  I still can't find
the manual describing these, but there are man pages.

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