iMac OSX 10.1.5 cant resolve host names but can see IP addresses
by martin_folb » Sun, 07 Nov 2004 02:34:05 GMT
I recently installed Palm desktop on my iMac and since then I cant
resolve host names. I have DSL and have the correct DNS settings I
think. I can ping IP addresses but not host names? How do I resolve
this? Any ideas how I can diagnose the problem.
Thanks
Re: iMac OSX 10.1.5 cant resolve host names but can see IP addresses
by Bob Harris » Sun, 07 Nov 2004 03:07:10 GMT
In article < XXXX@XXXXX.COM >,
start by looking at /etc/resolv.conf
It should have your DNS name server IP addresses in it.
If it does not, then try going to the Network System Preferences, and
switch your network to a different location (assuming you have more than
one location), and back again. This generally reloads the resolv.conf
values.
And finally consider that maybe the DNS addresses are not responding.
It has happened, but most ISPs really hate that, and generally resolve
it fairly quickly.
Bob Harris
Similar Threads:
1.Can't resove IP address to host name
I use FSGetVolumeInfo(), and others, to get a list of mounted volumes.
Work fine, I have the following info for a volume mounted as
"afp://file01", volume "Temp":
VolName = Temp
ServerName = 192.168.1.11
ServerAdr = -102
ServerRoot = /Volumes/Temp
FullPath = /Volumes/Temp/Data/t.txt
The problem is that I cannot find anywhere the mounted volume name
(file01), I get only the IP address. No problem, said I to myself, I
will just use AddressToName() to get the name....urk!... does'nt
work...it throw an exception and to nothing.
I try to use "host" and "dig" on the unix shell, but they wont give me
the hostname either (usenet posts talk about "forwarding",
"authoring", "delegation"...I'm lost).
So is this supposed to work, or is there another way to get the host
name from its IP address?
Here the code sample i use (in a thread):
UInt32 Adr;
LStr255 name1("192.168.1.11");
LStr255 name2("void");
Adr = 0;
LOpenTptInetMapper openTpt;
try
{
Adr = openTpt.NameToAddress(name1); // has to be run in a thread
} catch(...)
{
Adr = 999;
}
// this seems to works Adr=3232235787
try
{
openTpt.AddressToName(Adr, name2);
} catch(...)
{
name2 = "\pNo Name";
}
// dont work
Thanks
2.Resolve MAC address to IP address
I need to resolve a MAC address to an IP address. I
thought this could be done with the ARP command but was
unsuccessful in my attempts. Anyone have any ideas?
Thanks.
3.Using logical name on the LAN instead of IP address (OSX Leopard)
4.can't resolve host name
Problem:
I can't resolve LAN computer names from my imac
Context:
* imac G5 running Tiger with all updates
* imac is on a LAN with a linksys wrt54G router
* win2k machine on same LAN
* Linksys router performs dhcp services
* my win2k machine uses a setting, "use NetBIOS setting from DHCP
server"
to enable me to resolve host names (as I can demonstrate with
Ping hostname)
Question:
What settings do i make on the imac running Tiger to achieve the
same goal (host name resolution)
Thank you !!!!
Bil
5.Mac browser can't resolve server name into IP
6. osx hosts file setting not resolving in classic
7. IP Address, User Name, MAC Address.
8. Resolving IP from MAC address