From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 10:32:54 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C981416A4CE for ; Mon, 4 Apr 2005 10:32:54 +0000 (GMT) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7808643D49 for ; Mon, 4 Apr 2005 10:32:54 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9874 helo=mail.aseed.antenna.nl) by post-23.mail.nl.demon.net with esmtp (Exim 4.43) id 1DIOt3-0001OL-Ih; Mon, 04 Apr 2005 10:32:53 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 78F7E2841A7; Mon, 4 Apr 2005 12:33:45 +0200 (CEST) Received: from localhost.localdomain (f80052.upc-f.chello.nl [80.56.80.52]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 3ADE558D797; Mon, 4 Apr 2005 12:33:08 +0200 (CEST) Date: Mon, 4 Apr 2005 12:32:45 +0200 From: "albi@scii.nl" To: Brian John Message-Id: <20050404123245.0e84f124.albi@scii.nl> In-Reply-To: <42509308.9050506@fusemail.com> References: <1391.24.118.72.147.1112561507.fusewebmail-19592@webmail.fusemail.com> <20050403231459.0ae0f091.albi@scii.nl> <42509308.9050506@fusemail.com> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: just got DSL, can't surf or get mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 10:32:54 -0000 On Sun, 03 Apr 2005 20:06:16 -0500 Brian John wrote: > Ok, I think you may have pointed me to the source of the problem. > Here is what my resolv.conf looks like after every time I reboot my > compuer: search domain.actdsltmp > nameserver 192.168.0.1 > nameserver 205.171.3.65 > > Now, if I change it to this (using my secondary DNS server from my DSL > modem's 'setup' page): > search domain.actdsltmp > nameserver 205.171.2.65 > > ...everything works. Is there a way that I could keep this from > changing every time that I reboot my computer? this looks like your DSL-modem has a router-function (with DHCP and a non-working DNS-server) or your ISP does hand out DHCP to you and something goes wrong, or your ISP does not use DHCP and something else goes wrong with the resolv.conf what you can do is to put a line in /etc/rc.local which says this cp /etc/resolv.conf.good /etc/resolv.conf where /etc/resolv.conf.good is your working resolv.conf if DHCP is in use, either on your modem or by your ISP, then there's normally a lease-time (if it's say e.g. 5 minutes, then your /etc/resolv.conf will be overwritten) so you could turn the above line into a cronjob HTH