no servers could be reached
uifiddle at gmail.com
uifiddle at gmail.com
Fri Jul 29 08:36:50 UTC 2011
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 <danilo.godec at agenda.si>:
> 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
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
More information about the bind-users
mailing list