From owner-freebsd-questions Sun Aug 20 20:51:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from copernicus.mpcnet.com.br (copernicus.mpcnet.com.br [200.246.29.18]) by hub.freebsd.org (Postfix) with ESMTP id 2739037B423 for ; Sun, 20 Aug 2000 20:51:10 -0700 (PDT) Received: from socrates (mail@d2p36.mpcnet.com.br [200.246.29.164]) by copernicus.mpcnet.com.br (8.8.8/8.8.6) with ESMTP id AAA19231 for ; Mon, 21 Aug 2000 00:50:59 -0300 (EST) Received: from socrates ([127.0.0.1] ident=jeronimo) by socrates with esmtp (Exim 3.12 #1 (Debian)) id 13QiaX-0000DA-00 for ; Mon, 21 Aug 2000 00:49:29 -0300 To: questions@freebsd.org Subject: DNS setup question From: Jeronimo Pellegrini Date: 21 Aug 2000 00:49:23 -0300 In-Reply-To: Gabriel Ambuehl's message of "Sun, 20 Aug 2000 21:29:32 +0200" Message-ID: <86ya1re0jg.fsf_-_@mpcnet.com.br> Lines: 97 User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello. I've installed FreeBSD 4.1 this weekend -- and it was actually veryy easy. Ok. I followed the instructions in the handbook, and got PPP almost working... It dials, connects, but I couldn't set up the name server properly, and I don't know what I did wrong. This is my home dial-up box. The problem is that nslookup reports my nameserver's address as "0.0.0.0", and I can't resolve names. The interface is set up properly, and I can ping IP addresses... But no names... And I'm not sure if this is related to the problem, but when I last booted into BSD, sendmail complained about the host name. The message was "My unqualified hostname (socrates) unknown; sleeping for retry". I waited for a while, and since it did nothing, I had to hit ^C (and the boot process proceeded normally) So, I was hoping someone could tell me what I've missed... Any help is greatly appreciated! Thanks a lot, J. This is my /etc/rc.conf: == hostname="socrates" linux_enable="YES" moused_enable="YES" usbd_enable="YES" router_enable="NO" sendmail_flags="-bd" == And this is /etc/ppp/ppp.linkup (mpc is the name for my provider in ppp.conf): == mpc: delete ALL add 0 0 HISADDR == And in /etc/ppp/ppp.conf, I have: == set device /dev/cuaa2 set log Phase Chat LCP IPCP CCP tun command set speed 115200 # This is actually one line, I've broken it for the sake of readability when including in this message: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set login set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns set authname pellegrini set authkey Mt*s42?u accept PAP mpc: set phone ISP-PHONE-NUMBER set authname MY-LOGIN set authkey MY-PASSWORD == And /etc/host.conf: == hosts bind == And this is /etc/hosts: == 127.0.0.1 socrates localhost 10.0.0.1 socrates == -- Jeronimo Pellegrini Institute of Computing - Unicamp - Brazil http://www.ic.unicamp.br/~jeronimo mailto:jeronimo@ic.unicamp.br mailto:pellegrini@iname.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message