🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Walter Moore Fri, 19 Feb 1993 20:29
nntp and DNS?
#1709
Author: Walter Moore
Date: Fri, 19 Feb 1993 20:29
36 lines
2244 bytes
I have one UNIX system (uses /etc/hosts file) feeding a UNIX system that JUST changed to
using DNS. The feeding system's fully qualified hostname is sys1.domain1.whatever.
The receiving system is in another domain (sys2.domain2.whatever).

They were sending and receiving news nicely before the change to DNS. Since the change, the
only way I can send news is if the receiving system has the IP address of the sending system
in the file nntp_access. I've tried three different ways in the nntp_access file:
system1			        xfer            post
system1.domain1.whatever        xfer            post
SYSTEM1_IP_ADDRESS 		xfer		post

The ONLY one that works is the IP address, otherwise I get this in my log file:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
nntpsend: [7052] begin Fri Feb 19 10:45:54 CST 1993
nntpsend: [7052] begin system1 Fri Feb 19 10:45:55 CST 1993
nntpxmit: tdcins01 improper response to IHAVE: 400 while offering /usr/spool/news/amoco/announce/sun/117
nntpxmit: system1 signal 2
nntpxmit: system1 stats 1 offered 0 accepted 0 rejected 0 failed
nntpxmit: system1 xmit user 21.510 system 31.100 elapsed 104.780
      104.8 real        21.5 user        31.1 sys  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


Any ideas on what I SHOULD be doing so I don't have to use the IP address?


Thanks,

---
TTYL & TANSTAAFL ---------------- Walter Moore 
      Internet: wbmoore@amoco.com



Re: nntp and DNS?
#1713
Author: Ulf Kieber
Date: Sat, 20 Feb 1993 07:44
28 lines
2146 bytes
In article <1993Feb19.202908.7984@amoco.com>, zwbm07@hou.amoco.com (Walter Moore) writes:

>I have one UNIX system (uses /etc/hosts file) feeding a UNIX system that JUST changed to
>using DNS. The feeding system's fully qualified hostname is sys1.domain1.whatever.
>The receiving system is in another domain (sys2.domain2.whatever).
>
>They were sending and receiving news nicely before the change to DNS. Since the change, the
>only way I can send news is if the receiving system has the IP address of the sending system
>in the file nntp_access.
   [...]

When a system uses DNS it doesn't search its /etc/hosts anymore. Since you
obviously don't use DNS your host name probably isn't registered with the
name server. The receiving hosts gets articles from some host (in this case
yours), looks for the originating IP address and then tries to resolve the
IP address to a host name. Before using DNS it did this by checking
/etc/hosts and found you host name, now it asks the name server and doesn't
find any valid host name there. Then it checks if the connecting hosts is
permitted to transmit news. Since it only has your IP address and no host
name it nneds to find this IP address in nntp_access.

>Any ideas on what I SHOULD be doing so I don't have to use the IP address?
Change to DNS, too.

--
Ulf Kieber
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