From owner-freebsd-questions Thu Jan 20 14:11:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from csmd2.cs.uni-magdeburg.de (csmd2.CS.Uni-Magdeburg.De [141.44.22.2]) by hub.freebsd.org (Postfix) with ESMTP id 09AF215357 for ; Thu, 20 Jan 2000 14:11:03 -0800 (PST) (envelope-from jesse@mail.CS.Uni-Magdeburg.De) Received: from knecht.cs.uni-magdeburg.de (jesse@knecht [141.44.21.3]) by csmd2.cs.uni-magdeburg.de (8.9.3/8.9.3) with ESMTP id XAA29810 for ; Thu, 20 Jan 2000 23:10:54 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id XAA13464 for freebsd-questions@freebsd.org; Thu, 20 Jan 2000 23:10:25 +0100 (MET) Date: Thu, 20 Jan 2000 23:10:25 +0100 From: Roland Jesse To: freebsd-questions@freebsd.org Subject: leafnode+, DNS, and a dialup connection using i4b Message-ID: <20000120231025.A13460@knecht.cs.uni-magdeburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, thanks to i4b, my isdn connection is more or less up and running and I do my best to ignore the "File exists" error by ifconfig. But I still don't get the whole dilup setup done correctly. The world was just so much easier with a steady internet connection. :-> How does one setup a DNS lookup? I am planning to use leafnode+ to fetch news for me. Leafnode+ is started via inetd with the following entry in /etc/inetd.conf: ------- cut ------- nntp stream tcp nowait news /usr/local/sbin/leafnode leafnode ------- cut ------- Nothing special, I would say. Whenever I do a 'telnet localhost nntp', I get the following syslog message: ------- cut ------- Jan 20 20:55:07 arthur leafnode[671]: unable to parse server (server news.cs.uni-magdeburg.de has no =) ------- cut ------- Ok, so I put the ip address of this news.cs machine in /etc/hosts: ------- cut ------- 141.44.21.70 loriot loriot.cs.uni-magdeburg.de news news.cs.uni-magdeburg.de ------- cut ------- /etc/host.conf is of course ------- cut ------- hosts bind ------- cut ------- The above error message stays the same. That's why I thought having a little own named would be a nice idea. That's the try for /etc/resolv.conf: ------- cut ------- nameserver 127.0.0.1 nameserver 141.44.1.2 nameserver 141.44.1.1 domain uni-magdeburg.de ------- cut ------- with the following in /etc/rc.conf: ------- cut ------- named_enable="YES" # Run named, the DNS server (or NO). named_program="named" # path to named, if you want a different one. named_flags="-u bind -g bind" # Flags for named ------- cut ------- That was bad as the machine was opening a new connection every ten minutes (for exactly 145 seconds as /var/log/isdnd.acct is telling me). Even though named is telling me via syslog that it is "Ready to answer queries." the above error message by leafnode+ stays the same. I am more or less out of ideas and would very much appreciate any pointers to possible errors in my setup, things I missed, and manpages I should consult to proceed. Roland To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message