(please let me know if this post would fit better elsewhere)
I know a little linux and only as much of OS X that overlaps.
How does the iPhone do DNS lookups? I was having some trouble with name lookups when I was using GPRS so I deleted /etc/resolv.conf assuming it would be recreated next time I use it or reboot. Nothing has made it come back. Here is the weird part: I can connect to my wireless network and web and email work fine, and if I go to the terminal prompt I can ping yahoo.com just fine too, but if I type "dig yahoo.com" it times out, presumably because the /etc/resolv.conf file is empty. So where exactly does this thing store nameserver information?