Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: gethostbyaddr (was: syslogd)
@ 1996-10-21 19:45 Hunter Andreas Ware
  0 siblings, 0 replies; 6+ messages in thread
From: Hunter Andreas Ware @ 1996-10-21 19:45 UTC (permalink / raw)


>> "Miguel" == Miguel Bettencourt Dias <mbd@ciber-rede.pt> writes:

     Miguel> I bet you have a local dns server running ... looks like the
     Miguel> reverse dns configuration is either non existant or wrong.

     Miguel> Reconfigure your dns server ... and the problem should go
     Miguel> away.

   Unfortunately this is not the case.  I don't have no dns-server
   running.

</snip>
</snip off>

	you are missing nnswitch.conf in your /etc dir.  This seems to be a
bug in redhat.  Here is one that works for me. (gratefully stolen from
someone else :)

# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.

passwd:     files
group:      files
hosts:      files dns
networks:   files
protocols:  files
rpc:        files
ethers:     files
netmasks:   files
bootparams: files
publickey:  nisplus 
netgroup:   nisplus 
automount:  files
aliases:    files
services:   files

	You want the local dns to look at files (ie /etc/hosts) before going
out and looking at dns.

					Cheers,
						Hunter

-- 
               If the good lord had wanted man to stay on
        ._ O     the ground, he would have given us roots.
~~~\      //\.
    \    \>> |   Don't take life seriously, you'll never get out alive.
     \    \\
      \                 Hunter Ware - haw4t@virginia.edu

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: gethostbyaddr (was: syslogd)
@ 1996-10-22  9:00 Miguel Bettencourt Dias
  0 siblings, 0 replies; 6+ messages in thread
From: Miguel Bettencourt Dias @ 1996-10-22  9:00 UTC (permalink / raw)


> Unfortunately this is not the case.  I don't have no dns-server
> running.
> 
> I have:
> 
>    /etc/host.conf
> 	
> 	order hosts,bind
> 	multi on
> 
> and 
>    
>    /etc/resolv.conf
> 
>    domain pc.Uni-Koeln.DE
>    nameserver 134.95.100.208
>    nameserver 134.95.100.209
> 
> Anyway, thanks for the attempt ;-)
> 
> Markus

:-) 

but ... your computer is trying a gethostbyADDR ... it means that when you try 
to get a hostname giving and IP. That's a reverse dns call and your dns server 
should reply localhost to a gethostbyaddr with 127.0.0.1

The existence of a hosts file is not required for this to work properly, just 
a well configured dns server.

mbd

P.S.
Sorry it didn't help.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: gethostbyaddr (was: syslogd)
@ 1996-10-22  7:08 Markus Dickebohm
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Dickebohm @ 1996-10-22  7:08 UTC (permalink / raw)


>> "Hunter" == Hunter Andreas Ware <hunter@virginia.edu> writes:

  Hunter> you are missing nnswitch.conf in your /etc dir.  This seems
  Hunter> to be a bug in redhat.  Here is one that works for
  Hunter> me. (gratefully stolen from someone else :)

Yes, great, this really works.
I had to reboot to let this have an effect, but now even the syslogd
works as expected again.

Many thanks.

Markus

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: gethostbyaddr (was: syslogd)
@ 1996-10-21 18:08 Markus Dickebohm
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Dickebohm @ 1996-10-21 18:08 UTC (permalink / raw)


>> "Miguel" == Miguel Bettencourt Dias <mbd@ciber-rede.pt> writes:

  Miguel> I bet you have a local dns server running ... looks like the
  Miguel> reverse dns configuration is either non existant or wrong.

  Miguel> Reconfigure your dns server ... and the problem should go
  Miguel> away.

Unfortunately this is not the case.  I don't have no dns-server
running.

I have:

   /etc/host.conf
	
	order hosts,bind
	multi on

and 
   
   /etc/resolv.conf

   domain pc.Uni-Koeln.DE
   nameserver 134.95.100.208
   nameserver 134.95.100.209

Anyway, thanks for the attempt ;-)

Markus

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 6+ messages in thread
* gethostbyaddr (was: syslogd)
@ 1996-10-21 16:16 Markus Dickebohm
  0 siblings, 0 replies; 6+ messages in thread
From: Markus Dickebohm @ 1996-10-21 16:16 UTC (permalink / raw)


Hi again,

maybe I can specify my problem a little further because today I got
these message in my logfiles.

Oct 21 17:31:02 franck nnrpd[10420]: ? cant gethostbyaddr 127.0.0.1
				     Input/output error

Is anybody capable of explaining this to me?
I have in /etc/hosts:

127.0.0.1          localhost                
134.95.49.83       franck.pc.Uni-Koeln.DE    franck

Many thanks,
Markus

--SAA10652.845914577/franck.pc.uni-koeln.de--

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: gethostbyaddr (was: syslogd)
@ 1996-10-21 16:09 Miguel Bettencourt Dias
  0 siblings, 0 replies; 6+ messages in thread
From: Miguel Bettencourt Dias @ 1996-10-21 16:09 UTC (permalink / raw)


> Hi again,
> 
> maybe I can specify my problem a little further because today I got
> these message in my logfiles.
> 
> Oct 21 17:31:02 franck nnrpd[10420]: ? cant gethostbyaddr 127.0.0.1
> 				     Input/output error
> 
> Is anybody capable of explaining this to me?
> I have in /etc/hosts:
> 
> 127.0.0.1          localhost                
> 134.95.49.83       franck.pc.Uni-Koeln.DE    franck
> 
> Many thanks,
> Markus
> 

Hi !

I bet you have a local dns server running ... looks like the reverse dns 
configuration is either non existant or wrong.

Reconfigure your dns server ... and the problem should go away.

mbd

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

end of thread, other threads:[~1996-10-22  9:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-21 19:45 gethostbyaddr (was: syslogd) Hunter Andreas Ware
  -- strict thread matches above, loose matches on Subject: below --
1996-10-22  9:00 Miguel Bettencourt Dias
1996-10-22  7:08 Markus Dickebohm
1996-10-21 18:08 Markus Dickebohm
1996-10-21 16:16 Markus Dickebohm
1996-10-21 16:09 Miguel Bettencourt Dias

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