no servers could be reached
Danilo Godec
danilo.godec at agenda.si
Fri Jul 29 06:56:47 UTC 2011
On 07/29/2011 08:17 AM, uifiddle at 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/data/cache_dump.db";
> statistics-file "/var/named/data/named_stats.txt";
> memstatistics-file "/var/named/data/named_mem_stats.txt";
> };
> logging {
> channel default_debug {
> file "data/named.run";
> severity dynamic;
> };
> };
> view localhost_resolver {
> match-clients { localhost; };
> match-destinations { localhost; };
> recursion yes;
> include "/etc/named.rfc1912.zones";
> };
> view viewx {
> include "domainx.zones";
> };
>
>
> #cat var/domainx.zones
> zone "domainx" IN {
> type master;
> file "domainx.zone";
> allow-update { none; };
> };
Where on the filesystem is your 'domainx.zones' file?
According to you 'include "domainx.zones"' it should be
'/var/named/domainx.zones', but according to your 'cat
var/domainx.zones' it's in some 'var/' subdirectory.
Either use the full path for the include or move the domainx.zones file
into the /var/named and use a relative path from there.
Danilo
More information about the bind-users
mailing list