Re: DNS troubles

2008-07-22 Thread Jim
On Mon, Jul 21, 2008 at 10:26 PM, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On Mon, 21 Jul 2008 21:30:56 -0400, Jim <[EMAIL PROTECTED]> wrote:
>> 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 hope you didn't create a "resolve.conf" file, because it is called
> "resolv.conf" without a final "e", i.e.:

indeed I did. I removed the 'e' and it works perfeclty. Amazing the
difference a byte can make. Still, I wonder why it wouldn't work
during install? I feel extremely silly at this point.


Anyway, anyone know how to turn off the typo daemon? I tried 'killall
-9 typod' and '/etc/rc.d/typod stop', but nothing seems to get rid of
it...

Thanks again for the help,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS troubles

2008-07-21 Thread Patrick Mahan



Jim presented these words - circa 7/21/08 6:30 PM->

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.



Why do you think 'bind' is the problem?  You are not using bind, you are
using the DNS resolver (which is the client side of Bind).  Can you reach
each of the nodes listed in resolv.conf?  via ping?  via traceroute?

Have you tried to issue a 'dig 4.2.2.1 name' to see if you can reach the
DNS server?

I would first ensure that you have basic network connectivity, once that
is confirmed, that you have access to the DNS servers.

But your problem is not locally with Bind.

Patrick Mahan
ex-Window Washer


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"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS troubles

2008-07-21 Thread Giorgos Keramidas
On Mon, 21 Jul 2008 21:30:56 -0400, Jim <[EMAIL PROTECTED]> wrote:
> 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 hope you didn't create a "resolve.conf" file, because it is called
"resolv.conf" without a final "e", i.e.:

[EMAIL PROTECTED]:/root# ls -ld /etc/resol*
-rw-r--r--  1 root  wheel  - 35 Jul 22 01:36 /etc/resolv.conf
[EMAIL PROTECTED]:/root#

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"