On 7/28/11 12:16 AM, uifid...@gmail.com wrote:
my /etc/resolve.conf

Note:     ^^^^^^^

named-checkzone named-checkconf passed, I suppose the configure works
but only get no servers could be reached.What's wrong with my config?

Your resolv.conf is in the wrong place.  Let's see what happens when
that occurs:

With resolv.conf in place:

Chickamin-River:~ $ dig www.isc.org

; <<>> DiG 9.6.0-APPLE-P2 <<>> www.isc.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5913
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.isc.org.                   IN      A

;; ANSWER SECTION:
www.isc.org.            263     IN      A       149.20.64.42

;; Query time: 49 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Jul 28 11:42:34 2011
;; MSG SIZE  rcvd: 45


With resolv.conf in the wrong place:


Chickamin-River:~ $ mv /etc/resolv.conf /etc/resolv.conf.moved
Chickamin-River:~ $ dig www.isc.org

; <<>> DiG 9.6.0-APPLE-P2 <<>> www.isc.org
;; global options: +cmd
;; connection timed out; no servers could be reached
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to