From owner-freebsd-isdn Sun Jan 23 3: 7: 5 2000 Delivered-To: freebsd-isdn@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 1AB4A14F3F for ; Sun, 23 Jan 2000 03:07:01 -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 MAA13565 for ; Sun, 23 Jan 2000 12:06:32 +0100 (MET) Received: (from jesse@localhost) by knecht.cs.uni-magdeburg.de (8.8.8+Sun/8.8.8) id MAA03790; Sun, 23 Jan 2000 12:06:01 +0100 (MET) X-Authentication-Warning: knecht.cs.uni-magdeburg.de: jesse set sender to jesse@cs.uni-magdeburg.de using -f To: freebsd-isdn@freebsd.org Subject: leafnode+, DNS, and a dialup connection using i4b From: Roland Jesse Date: 23 Jan 2000 12:06:00 +0100 Message-ID: <0vu2k51207.fsf@cs.uni-magdeburg.de> Lines: 69 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [Posted this to -questions before but to no avail. Does not look like there are active i4b users over there.] 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 this can be addressed using 'ifconfig ... lik0' instead of 'ifconfig ... link1' and is therefore not so much of a problem, it doesn't help: 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-isdn" in the body of the message