From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 01:30:58 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70CF81065673 for ; Tue, 22 Jul 2008 01:30:58 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id 13FAB8FC13 for ; Tue, 22 Jul 2008 01:30:57 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so484095wra.27 for ; Mon, 21 Jul 2008 18:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=ipEp15yIDqQU+lmwHxMwzj/Rp38uYWZVFtav38GjgqM=; b=hFaavufOCuF9xJ17UhMRoJbg9CD2tSCgBxqpWDpGthGLhyv178UTrA8KF5XXsFZd4C 5MgdmUSO+V1kQjnbWeRQfEo2XuQX8CEqLPrxAJKFIcXv5vRk/A5BtJJsocnSlOLgVYNP H7kLueHQcKI3N6GGGiUlFQSqHrIEEnhJ/tUME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ivNmVYojCpdcd7Prl1x7WRK7bfiiz/EttC0EQe9H/LTVzfK1474aj1f0i0g2RmzUa1 S5udo4bpG3Cw/VR/Hzgeesfog8E3PHfb2dVaFtjGUw6js/dn+Zb73E+9tWDze5X1AQ6h TVjvJu+24H82IQxf+eWG63UerF4++oEF5XshE= Received: by 10.90.96.15 with SMTP id t15mr652932agb.116.1216690256590; Mon, 21 Jul 2008 18:30:56 -0700 (PDT) Received: by 10.90.33.17 with HTTP; Mon, 21 Jul 2008 18:30:56 -0700 (PDT) Message-ID: <80f4f2b20807211830y30acdf5cyacc05161a4268b04@mail.gmail.com> Date: Mon, 21 Jul 2008 21:30:56 -0400 From: Jim To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: DNS troubles 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: Tue, 22 Jul 2008 01:30:58 -0000 I'm trying to get a machine working, but it can't seem to handle DNS requests. I've just done a 7.0 install (from CD, usually I use net, but it wasn't connecting to anything, now I know why). I have a machine with two built in NICs on the motheroboard, one using nfe the other using bge. When I try to connect to anything, I get a "cannot resolve host error". Both are set up to be static, 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1" (the router, which points to the ISPs DNS) and "4.2.2.1" in the /etc/resolve.conf file, each separately, not both at once. The machine can ping both of these addresses and gets a decent to rapid return time (~.3ms for the former, <20ms for the latter) Neither works on this machine. Both work on the other FreeBSD and Windows machines in the house. I have the machine set to dual boot, and DNS works fine under Windows. I tried DHCP without an luck. The previous install on this machine just worked. What I *SUSPECT* is the biggest clue (my guess, check an rc.d file, which?) During boot up, after showing the network interfaces, until showing the login prompt, the terminal gets spammed with "b: not found". Up to this point: -> I installed it once with a boot only CD and it worked fine, but being absent minded, I reinstalled thinking it would be the quickest/easiest way to fix an issue, and the install I had wasn't really 'set-up' yet. -> The DNS checker (bind?) wasn't working properly during the first reinstall. Sadly, I found this out after reformatting the partitions. -> I re-burned the CD with CD1 (not boot only), and tried again - DNS still didn't work. -> I installed from CD. Process for current install: -> I installed i386/7.0 from Install Disk 1, minimal install + dict, man, info and doc -> I set the root password during the install -> I updated the /etc/ssh* files to the files from my old system (I can ssh into the computer fine) -> I copied over the rc.conf and modified the NIC and startup entries (see below) -> I added if_tap_load="YES" to /boot/loader.conf (this was AFTER the DNS issues had started) -> set the values in /etc/resolve.conf -> I copied /etc/supfile-ports and /etc/supfile-src from the old install. These are pretty boring supfiles for ports and src respectively. -> I added my non-root account (so I could ssh in) That's it. Any ideas? My suspicion is that my next step will be 'rebuild bind from within /usr/src wherever it resides in there'. However, since it wasn't working during install or now, I suspect that won't be enough. Thanks, -Jim Stapleton /etc/resolve.conf ======================================== domain var-dev.net nameserver 4.2.2.1 nameserver 4.2.2.2 nameserver 4.2.2.3 ======================================== /etc/rc.conf ======================================== hostname="elrond.var-dev.net" ifconfig_bge0="inet 192.168.1.86 netmask 255.255.255.0" #ifconfig_re0_alias0="192.168.1.85 netmask 255.255.255.255" defaultrouter="192.168.1.1" #for QEmu ifconfig_nfe0="up polling" autobridge_interfaces="bridge0" autobridge_bridge0="tap0 nfe0" cloned_interfaces="bridge0" # the bridge gets the IP #ifconfig_bridge0="inet 10.10.10.2 netmask 255.255.255.0" ifconfig_bridge0="inet 192.168.1.84 netmask 255.255.255.0" ifconfig_bridge0_alias0="192.168.1.85 netmask 255.255.255.0" sshd_enable="YES" usbd_enable="YES" linux_enable="YES" #ntpdate_enable="YES" ntpd_enable="YES" #cupsd_enable="YES" #moused_enable="YES" #for beryl and hardware autodetect stuff #compat5_enable="YES" #dbus_enable="YES" #polkitd_enable="YES" #hald_enable="YES" #gdm_enable="YES" bsdstats_enable="YES" # -- sysinstall generated deltas -- # Tue Mar 25 08:22:19 2008 keymap="us.iso" ========================================