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.
|