🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Simon Lyall Mon, 26 Feb 1996 00:00
SunOS 4.1.4: DNS problems.
#5299
Author: Simon Lyall
Date: Mon, 26 Feb 1996 00:00
18 lines
1111 bytes
My server seems to have problems resolving addresses.

Lots of "ME cant gethostbyname " errors and similar.

THe FAQ goes on about brain-damaged SunoS etc, but what I want to know is 
how the hell to fix it? The local DNS guys claim SunOS ignorance and I 
don't know where to start in fixing it.

Pointers to where to fix this much appreciated.

--
Simon J. Lyall.           |      Work -   simon@omega.co.nz 
News Admin.               |   Home -  simon@darkmere.gen.nz
Omega Centauri Internet.  |   http://www.omega.co.nz/~simon

"To stay awake all night adds a day to your life" - Stilgar.

Re: SunOS 4.1.4: DNS problems.
#5262
Author: Mike Iglesias
Date: Mon, 26 Feb 1996 00:00
19 lines
1403 bytes
In article <4gs1r9$onm@orac.mon.rnb.com>,
Hugh J.E. Davies <hdavies@kzin.mon.rnb.com> wrote:
>The problem is that standard SunOS doesn't come with a resolver, so
>specifying -lresolv doesn't buy you anything. The easiest way around this
>is to install one of the public domain resolver libraries - I use resolv+.

SunOS comes with /usr/lib/libresolv.a, which is what you get when you
use -lresolv.  That is a resolver library, which will query a nameserver
(assuming you have one configured via /etc/resolv.conf) for gethostbyname()
and gethostbyaddr() calls.


-- 
Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       (714) 824-6926
Office of Academic Computing         FAX:         (714) 824-2069


Re: SunOS 4.1.4: DNS problems.
#5273
Author: Jonathan Knight
Date: Mon, 26 Feb 1996 00:00
30 lines
1665 bytes
In article <4grsov$cjv@midland.co.nz>, simon@omega.co.nz (Simon Lyall) writes:
>THe FAQ goes on about brain-damaged SunoS etc, but what I want to know is 
>how the hell to fix it? The local DNS guys claim SunOS ignorance and I 
>don't know where to start in fixing it.


When compiling specify the library -lresolv as one of the libraries
to use.  This forces the news system to only use DNS and dumps all
the YP/NIS crud.  You will also find that news will always resolve hostnames
to their fully qualified name so make sure that your nnrp.access file
has full names in it.

Next make sure your /etc/resolv.conf file is correct.  Your local DNS
guys should be able to give you one of those.






-- 
  ______    Internet  :jonathan@cs.keele.ac.uk   Jonathan Knight,
    /       UUCP      :...!uknet!kl-cs!jonathan  Department of Computer Science
   / _   __ Telephone : +44 1782 583437          University of Keele, Keele,
(_/ (_) / / Fax       : +44 1782 713082          Staffordshire.  ST5 5BG.  U.K.



Re: SunOS 4.1.4: DNS problems.
#5321
Author: Christopher J. Wargaski
Date: Tue, 27 Feb 1996 00:00
18 lines
1202 bytes
Simon Lyall (simon@omega.co.nz) wrote:
: My server seems to have problems resolving addresses.
: 
: Lots of "ME cant gethostbyname " errors and similar.
: 
: THe FAQ goes on about brain-damaged SunoS etc, but what I want to know is 
: how the hell to fix it? The local DNS guys claim SunOS ignorance and I 
: don't know where to start in fixing it.

Can you telnet to names without difficulty?  Do you have the most recent
resolv libraries?  Is your resolf.conf file correct?  

					cjw

Christopher Wargaski --  Network Services -- cjw@is.rpslmc.edu
Rush-Presbyterian-St. Luke's Medical Center -- Chicago, Illinois

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads