[nycbug-talk] Problem with Hostnames
Scott Robbins
scottro
Sat Apr 24 22:13:29 EDT 2004
On Sat, Apr 24, 2004 at 10:02:45PM -0400, Tilly wrote:
> Hello,
>
> I am new to bsd and i am usign bsd. I have manually setup my internet in the
> rc.conf as:
>
> hostname="bsdBOX.bsd.serversunited.com"
> ifconfig_dc0="inet 192.168.1.95 netmask 255.255.255.0"
>
> and i am having problems looking up hostnames. This is what is in my
> resolv.conf
>
> domain darkorb.net
> search darkorb.net
> nameserver 216.118.116.101
> nameserver 66.96.193.2
> nameserver 66.96.194.2
Just the two obvious questions to make sure we're not overlooking
something silly. Not that I (cough cough) have ever done something like
this but err, uh, it happened to a friend. :)
Question one--you can ping anything by IP address? Such as yahoo?
(216.109.118.77)
Question 2--the default gateway? For instance, my /etc/rc.conf has
defaultrouter="192.168.1.1"
(Although if you're able to ping yahoo.com by IP address, the gateway isn't
the issue.)
HTH but I doubt it will--still, never hurts to check the obvious.
If you do have to add the gateway, the syntax is slightly different than
linux. It's just
route add default 192.168.1.1 (Assuming that was your gateway address)
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Spike: I did a couple of slayers in my time. I don't like to
brag. Who am I kidding? I love to brag. One time, during the
Boxer Rebellion...
More information about the talk
mailing list