Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2007 > March 2007

Questions and Answers

Amy Rich

Q I have a laptop running OS X 10.4.8 that's configured just the same as other laptops in the department. We connect through a wireless network, which hands out IP addresses via a DHCP server. If I look at the Network Configuration Page for the AirPort, it says that I'm configuring IPv4 Using DHCP. No other information, including DNS Servers or Search Domains, is filled in. If I open a Web browser, I can get to, say, yahoo.com just fine. I can ping yahoo.com just fine. When I try to run nslookup or dig, though, I get the following timeout error:

;; connection timed out; no servers could be reached
Why do some of my services work fine while others fail? If I change networks, I have the same problem with a different set of nameservers, so I don't think it's the fault of DHCP. All of the other laptops here behave as normal.

A If the only things that fail to work are nslookup and dig, then most likely your link for /etc/resolv.conf is missing. If you do an ls -al on /etc/resolv.conf, you should see a symlink to /var/run/resolv.conf. If this symlink is missing, or the file has become otherwise modified, recreate the symlink properly by running the following as root:

rm -f /etc/resolv.conf
ln -s /var/run/resolv.conf /etc/resolv.conf
The nameservers for nslookup and dig should now match those obtained from your DHCP configuration.

Q We're in the market to refresh our desktops where I work. We want to be able to boot Linux, Windows, or Solaris. Windows and Linux will run on almost anything, but Solaris is a bit more picky about things like network cards, DVD drives, etc.




MarketPlace

"Six Sigma" Certification
Villanova Six Sigma Certification 100% Online Program - Free Info.

PMP Certification-Online
Nation's Leading Online PMP Course From Villanova-Find Out More Now.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Automate Software Builds with Visual Build Pro
Easily create an automated, repeatable process for building and deploying software.

Wanna see your ad here?