Re: no servers could be reached

2011-07-31 Thread Chris Buxton
On Jul 28, 2011, at 8:27 AM, uifid...@gmail.com wrote: > I'm trying to config a bind server which could answering queries (at > least from 127.0.0.1 and 192.168.18.128) like "dig kia.czj" but I > failed to. perhaps my ignorance about match-clients and > match-destinations statements failed my att

Re: no servers could be reached

2011-07-31 Thread Chris Buxton
On Jul 28, 2011, at 4:39 AM, Daniel McDonald wrote: > On 7/28/11 3:16 AM, "uifid...@gmail.com" wrote: > >> my czj.zone >> $TTL 86400 >> czj. IN SOA localhost. root.localhost. ( >> 1997022700 ; Serial >> 2880

Re: no servers could be reached

2011-07-31 Thread uifid...@gmail.com
> > -Original Message- > From: bind-users-bounces+jlightner=water@lists.isc.org > [mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf Of > Danilo Godec > Sent: Friday, July 29, 2011 5:38 AM > To: bind-users@lists.isc.org > Subject: Re: no servers

RE: no servers could be reached

2011-07-29 Thread Lightner, Jeff
On Behalf Of Danilo Godec Sent: Friday, July 29, 2011 5:38 AM To: bind-users@lists.isc.org Subject: Re: no servers could be reached On 07/29/2011 10:36 AM, uifid...@gmail.com wrote: > the zones file is located at /var/named/chroot/var/named/domainx.zones. > #cat var/domainx.zone

Re: no servers could be reached

2011-07-29 Thread Danilo Godec
On 07/29/2011 10:36 AM, uifid...@gmail.com wrote: the zones file is located at /var/named/chroot/var/named/domainx.zones. #cat var/domainx.zones should be var/named/domainx.zones #cat var/domainx.zone should be var/named/domain.zone Sorry for my typo. So this should be OK then. Your view state

Re: no servers could be reached

2011-07-29 Thread uifid...@gmail.com
the zones file is located at /var/named/chroot/var/named/domainx.zones. #cat var/domainx.zones should be var/named/domainx.zones #cat var/domainx.zone should be var/named/domain.zone Sorry for my typo. 2011/7/29 Danilo Godec : > On 07/29/2011 08:17 AM, uifid...@gmail.com wrote: >> >> cat var/named

Re: no servers could be reached

2011-07-29 Thread Danilo Godec
On 07/29/2011 08:17 AM, uifid...@gmail.com wrote: cat var/named/named.conf // // named.caching-nameserver.conf // options { listen-on port 53 { 192.168.18.128; 127.0.0.1; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/da

Re: no servers could be reached

2011-07-28 Thread uifid...@gmail.com
#hostname CentOS3 Is it matter? 2011/7/29 uifid...@gmail.com : > still get "no servers could be reached", need help. > > #dig @127.0.0.1 nsc1.domainx > > ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @127.0.0.1 nsc1.domainx. > ; (1 server found) > ;; global options:  printcmd > ;; connection ti

Re: no servers could be reached

2011-07-28 Thread uifid...@gmail.com
still get "no servers could be reached", need help. #dig @127.0.0.1 nsc1.domainx ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 <<>> @127.0.0.1 nsc1.domainx. ; (1 server found) ;; global options: printcmd ;; connection timed out; no servers could be reached cat /etc/resolv.conf ; generated by /sbin

Re: no servers could be reached

2011-07-28 Thread uifid...@gmail.com
Sorry, it's a typo in the maillist, but not in my file system. My resolv.conf is in the right place. 2011/7/29 Michael McNally : > 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 w

RE: no servers could be reached

2011-07-28 Thread Lightner, Jeff
-users@lists.isc.org Subject: Re: no servers could be reached 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

Re: no servers could be reached

2011-07-28 Thread Michael McNally
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 w

Re: no servers could be reached

2011-07-28 Thread uifid...@gmail.com
I'm trying to config a bind server which could answering queries (at least from 127.0.0.1 and 192.168.18.128) like "dig kia.czj" but I failed to. perhaps my ignorance about match-clients and match-destinations statements failed my attempt, or more likely, "SOA and NS of localhost. seems wrong".  I

Re: no servers could be reached

2011-07-28 Thread Alan Clegg
On 7/28/2011 4:16 AM, uifid...@gmail.com wrote: > view localhost_resolver { > match-clients { localhost; }; > match-destinations { localhost; }; > recursion yes; > include "/etc/named.rfc1912.zones"; > }; > view czj { > match-clients { 192.168.18.128; localhost

Re: no servers could be reached

2011-07-28 Thread Daniel McDonald
On 7/28/11 3:16 AM, "uifid...@gmail.com" wrote: > my czj.zone > $TTL 86400 > czj. IN SOA localhost. root.localhost. ( > 1997022700 ; Serial > 28800 ; Refresh >