From owner-freebsd-questions@FreeBSD.ORG Sat Apr 7 02:08:18 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91BA916A401 for ; Sat, 7 Apr 2007 02:08:18 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 51B9613C4B7 for ; Sat, 7 Apr 2007 02:08:18 +0000 (UTC) (envelope-from tfcheng@gmail.com) Received: by py-out-1112.google.com with SMTP id f31so526419pyh for ; Fri, 06 Apr 2007 19:08:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=YtJjRhI2mPE3q5EPwc2YDIyvjak5W9uJXHUbsfnWtArA7s9jlStSOH71jyKKTGTgdyxvwC6fqgRSFITODPsTWKYaTG6dGJ/YR3zI97ipgqn4GTRyQhbXoNLaOk3CyhJUIK30ya1CsCqjMIZjzTSKI3FjWUoCQ9xsDircyhDIN5Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=jFSTJJzjI2mF4MIeHiUJfR7+9W6CZztP2JLSboKaE7CK1L6mZ5F36RXqmbK8u2GuKgKl6ebMuneU7t65oU3BF1VFgXu4i01+zP6Wws7erFd5R5RRor4oiUt59vgIXi7+Uv6kgPXkCw9cbXw9e3gqAWKk04eR9j8Fhm8N5qnD5hE= Received: by 10.65.251.2 with SMTP id d2mr7135274qbs.1175911697488; Fri, 06 Apr 2007 19:08:17 -0700 (PDT) Received: by 10.65.100.1 with HTTP; Fri, 6 Apr 2007 19:08:16 -0700 (PDT) Message-ID: Date: Fri, 6 Apr 2007 22:08:16 -0400 From: "Tsu-Fan Cheng" To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: resolve.cong X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2007 02:08:18 -0000 hi, my computer gets DHCP IP from my router, and also writes my resolve.confin my /etc by dhclient (as I learned from the handbook). It writes "search hsd1.md.comcast.net." and "nameserver 192.168.0.1" in the resolve.conf. I found this is not very efficient. Once I put "nameserver 68.87.73.242" (which is actually copied from the router status), my network works better. But since dhclient keeps change the conf file back to the way it was, Is there anyway i can make dhclient writes down this line?? thank you!! TFC