Re: Name Resolution Problems...
Re: Name Resolution Problems...
- Subject: Re: Name Resolution Problems...
- From: Stephen Hilton <email@hidden>
- Date: Mon, 27 Oct 2003 11:32:59 -0600
On Mon, 27 Oct 2003 06:06:00 +0000
Gareth Eason <email@hidden> wrote:
> Hi,
>
> Don't know if this is the most appropriate place to post this -
> perhaps someone can point me in the right direction.
>
> I use a .local domain for my local internal network and have a DNS
> server which is authoritative for that domain. So other systems in my
> building might be server1.homenet.local and server2.homenet.local.
> These resolve to 192.168.0.x addresses. I've tested using dig.
>
> But when I tries to use these hostnames in X11 on Mac they
> consistently fail, telling me that they cannot be resolved to an IP
> address. On further testing, ping will not resolve the address either -
> though host and dig will quite happily return the correct values. So it
> seems to be a much bigger problem than just X11.
>
> My /etc/resolv.conf is set up correctly and name resolution from the
> internet (using the same DNS server) works perfectly. The apple itself
> is in the .homenet.local domain. All the other machines (Linux,
> Windoze, Solaris) work perfectly happily using IP addresses or
> hostnames, but the Apple refuses point blank to resolve hostnames to IP
> addresses.
>
> Any help would be greatly appreciated - even if it is a 'you should
> post this to <some.other.mailing.list>' :-)
>
> Best regards,
> -->Gar
Gar,
This is a known issue and there are some workarounds.
http://docs.info.apple.com/article.html?artnum=107174
http://www.macosxhints.com/article.php?story=20021212074234953
This is the solution I am using from macosxhints, but I only have 1 Mac
on my .local LAN. There could be other issues if you have more than 1
OS X machine and are using Rendezvous etc... it may be best to just
rename your domain and machines to something besides .local :-(
------------------------------------------------------------------------
The .local domain and DNS issues
Authored by: duus on Sun, Jun 1 '03 at 07:37AM
The solution I came up with based on some of the other hints in this
section is modifying your /etc/resolver/local file and insert your local
.local nameserver in front of the rendevouz server
This is my anonymized version :
nameserver 192.168.x.y
nameserver 192.168.z.q
nameserver 224.0.0.251
port 53
timeout 1
------------------------------------------------------------------------
Regards,
Stephen Hilton
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.