🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Mark Bath Fri, 17 Feb 1995 10:26
Host Resolution problem with gethostbyaddr
#3367
Author: Mark Bath
Date: Fri, 17 Feb 1995 10:26
23 lines
1591 bytes
I have just cofigured two suns (SunOS 4.1) and they have both got INN running. I
have noticed that there seems to be a problem doing reverse lookups (ip name
from ip address) as INN is reporting the following error

	? cant gethostbyaddr xxx.xxx.xxx.xxx permission denied

also when you do a who, user logged on from a remote machine are listed by
ip address not machine name.

The twist one of these machines is running as a DNS and a day or two ago the
error message from inn vanished and the who command is returning machine
names not IP address. However the second machine still has the problem.

The two machine are on seperate NIS domains but use the same DNS.

Any help or pointers aould be most appreciated.

Cheers

Mark Bath
Integralis Ltd.

Re: Host Resolution problem with gethostbyaddr
#3385
Author: Mark Bath
Date: Wed, 22 Feb 1995 11:04
45 lines
2556 bytes
In <3i1tkc$110@sunny.integralis.co.uk>, M_Bath@Integralis.co.uk (Mark Bath) writes:
>I have just cofigured two suns (SunOS 4.1) and they have both got INN running. I
>have noticed that there seems to be a problem doing reverse lookups (ip name
>from ip address) as INN is reporting the following error
>	? cant gethostbyaddr xxx.xxx.xxx.xxx permission denied
>also when you do a who, user logged on from a remote machine are listed by
>ip address not machine name.
>
>The twist one of these machines is running as a DNS and a day or two ago the
>error message from inn vanished and the who command is returning machine
>names not IP address. However the second machine still has the problem.
>
>The two machine are on seperate NIS domains but use the same DNS.
>
>Any help or pointers aould be most appreciated.


The problem continues:

We have just had to reboot the machine that is acting as a DNS, and the
problem has started again. The machine is not resolving machine names from
IP address with the gethostbyaddr call.

I have found numerous other places where this is also not working. If you do an
arp -a to list entries in the arp cash I get the following

	? (xxx.xxx.xxx.xxx) at xx:xx:xx:xx:xx:xx

instead of

	name (xxx.xxx.xxx.xxx) at .....

What causes this?

I have had several people mail me asking if I have found a solution, so it seems
this may be a known problem.

I look forward to hearing any suggestions as to what it may be.

Cheers

Mark Bath
Integralis

Re: Host Resolution problem with gethostbyaddr
#3391
Author: Mark Bath
Date: Fri, 24 Feb 1995 12:00
17 lines
1476 bytes
In <3if5nl$a5p@sunny.integralis.co.uk>, M_Bath@Integralis.co.uk  (Mark Bath) writes:
>In <3i1tkc$110@sunny.integralis.co.uk>, M_Bath@Integralis.co.uk (Mark Bath) writes:
>>I have just cofigured two suns (SunOS 4.1) and they have both got INN running. I

cut

>The problem continues:

cut

I have managed to get this sorted. We had the wrong IP address in the named.boot
file, for the revers lookup file. Hence we did not have a reverse lookup file
for out network address.

Mark Bath
Integralis
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