Error when start named

Rodrigo Faria Tavares rodrigofariat at yahoo.com.br
Sun Jun 26 15:38:49 UTC 2011


Hello,

After copy the zone files for chroot, e change the pemissions
in /var/named, now my dns zones is ready, resolving names. 

But come the logs in messages:

Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:a::79#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns3.ultradns.org/A/IN': 2001:500:48::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns3.ultradns.org/AAAA/IN': 2001:500:c::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/A/IN': 2001:500:b::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/AAAA/IN': 2001:500:e::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns5.ultradns.info/A/IN': 2001:500:19::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns3.ultradns.org/A/IN': 2001:500:e::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/A/IN': 2001:500:e::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/AAAA/IN': 2001:500:b::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns3.ultradns.org/A/IN': 2001:500:b::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns3.ultradns.org/A/IN': 2001:500:c::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/A/IN': 2001:500:40::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/AAAA/IN': 2001:500:40::1#53
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns4.ultradns.org/A/IN': 2001:500:f::1#53
Jun 26 12:35:39 localhost named[4484]: dynamic/managed-keys.bind.jnl:
create: file not found
Jun 26 12:35:39 localhost named[4484]: zone managed-keys.bind/IN/_meta:
keyfetch_done:dns_journal_open -> unexpected error 
Jun 26 12:35:39 localhost named[4484]: error (network unreachable)
resolving 'pdns6.ultradns.co.uk/AAAA/IN': 2001:630:181:35::83#53
Jun 26 12:35:40 localhost named[4484]: error (network unreachable)
resolving 'dlv.isc.org/DLV/IN': 2001:4f8:0:2::20#53
Jun 26 12:36:03 localhost named[4484]: dumping master file:
dynamic/tmp-uROOS8s7nk: open: file not found

What mean this lines ?
My DNS is running dnssec ?

my named.conf

options {
        listen-on port 53 { 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";
        allow-query     { localhost; };
        recursion yes;

        dnssec-enable yes;
        dnssec-validation yes;
        dnssec-lookaside auto;

        /* Path to ISC DLV key */
        bindkeys-file "/etc/named.iscdlv.key";
};

[]'s

Rodrigo Faria Tavares

Em Dom, 2011-06-26 às 16:42 +0200, Zenon Panoussis escreveu:
> On 06/26/2011 03:16 PM, Rodrigo Faria Tavares wrote:
> 
> > When I tryed to run named, come many messages about bind files not
> > exist. Then i put the path each file in /var/named, in
> > the /etc/named.rfc1912.zones file. After the changes come this message:
> > 
> > zone localhost/IN: loading from master file /var/named/localhost.zone
> > failed: invalid file
> 
> This and the other files that you mention should exist and be valid
> zone files for the zones they are supposed to serve. Sample localhost.zone:
> 
> $TTL 1D
> @	IN SOA	@ rname.invalid. (
> 					0	; serial
> 					1D	; refresh
> 					1H	; retry
> 					1W	; expire
> 					3H )	; minimum
> 	NS	@
> 	A	127.0.0.1
> 	AAAA	::1
> 
> 
> > Then I created links for chroot.
> 
> Make a copy of the zone files inside the chroot, rather than just linking.
> Also, pay attention to selinux. If it its not properly configured for your
> chroot it will make your life sour and miserable until you just disable it
> and be done with it.
> 
> > For each file in /var/named come these logs:
> 
> > Error in named configuration:
> > zone localdomain/IN: loading from master
> > file /var/named/localdomain.zone failed: invalid file
> 
> To me it looks as if the file is there and bind can read it, but the contents
> of the file are incorrect.
> 
> Then again, that's not fatal:
> 
> > zone localdomain/IN: not loaded due to errors.
> 
> "Zone not loaded" means that your server won't answer queries for this zone,
> but it will still answer queries for any other zones that were correctly
> configured and loaded.
> 
> Depending on your distribution, this might be helpful:
> http://webhostingneeds.com/Zone_localdomain_IN_loading_master_file_localdomain_zone_file_not_found
> 
> Z
> 
> _______________________________________________
> 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