Re: named
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Mon, 30 Jul 2007 21:03:08 -0400
In article <BSori.20133$13.4552@xxxxxxxxxxxxxxx!nnrp1.uunet.ca>,
Clever Monkey <spamtrap@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Bartlomiej F. Tajchman wrote:
I have a problem with configuration of bind under MacOS control. I haveThe BSD resolver has never worked for me with a server line of 12.0.0.1.
a correct zone file, I can ask bind for this domain, by
host/dig/nslookup commands. Answers are OK, I have trace of query in
logs. But when I try to use ping/ssh and every other I got "ping: cannot
resolve [domainname]: Unknown host.
In resolv.conf I have myself 127.0.0.1.
How can I solve this issue?
I always use the local IP address of the nameserver, even on the box
itself.
Interesting. This is a bug that existed for many years (it's even
mentioned in the "DNS & BIND" book), but I thought it had been fixed in
most flavors of Unix years ago. I'm very surprised that OS X still has
it.
If your machine gets its IP dynamically, you can put:
nameserver 0.0.0.0
in /etc/resolv.conf, and this will automatically use the local IP
address. Or just leave out the "nameserver" line entirely, as this is
the default.
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- Follow-Ups:
- Re: named
- From: Bartlomiej F. Tajchman
- Re: named
- Prev by Date: Re: How do I resolve a port conflict?
- Next by Date: Damn updates
- Previous by thread: Re: named
- Next by thread: Re: named
- Index(es):
Relevant Pages
|