Re: rndc: 'reload' failed: not found

2011-03-08 Thread Eivind Olsen
 Cent OS+BIND 9.7.3+DLZ(BDB as backend)
 # rndc reload 2mysite.net
 rndc: 'reload' failed: not found
 rndc reload not work correctly,why?

I've not used DLZ, but in general the error message you see is the same
one you'd see if BIND didn't know about the zone. For example:

# rndc reload doesntexists.zone
rndc: 'reload' failed: not found
# rndc reload bohrnag.org
zone reload up-to-date
#

I did a quick search on the net, and it looks like it might also be an
issue with the permissions on the database files, depending on the user
BIND is running as?
For example,
http://fixunix.com/dns/55171-chrootd-bind-dlz-file-__db-00-perms-causing-rndc-reload-fail-where-set-change-them.html

Regards
Eivind Olsen
eiv...@aminor.no

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


Re: rndc: 'reload' failed: not found

2011-03-08 Thread Paul Ooi Cong Jen

On 08-Mar-2011, at 4:31 PM, Eivind Olsen wrote:

 Cent OS+BIND 9.7.3+DLZ(BDB as backend)
 # rndc reload 2mysite.net
 rndc: 'reload' failed: not found
 rndc reload not work correctly,why?
 
 I've not used DLZ, but in general the error message you see is the same
 one you'd see if BIND didn't know about the zone. For example:
 
 # rndc reload doesntexists.zone
 rndc: 'reload' failed: not found
 # rndc reload bohrnag.org
 zone reload up-to-date
 #

Is both of the zone loaded from DLZ? 


 
 I did a quick search on the net, and it looks like it might also be an
 issue with the permissions on the database files, depending on the user
 BIND is running as?
 For example,
 http://fixunix.com/dns/55171-chrootd-bind-dlz-file-__db-00-perms-causing-rndc-reload-fail-where-set-change-them.html
 
 Regards
 Eivind Olsen
 eiv...@aminor.no
 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users

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


Re: rndc: 'reload' failed: not found

2011-03-08 Thread Dan



You cannot reload a dlz zone file. The zone is dynamic in mysql.
Dlz+mysql can only support 7-800 qps, so what you want to do is
build your webinterface to it, bind it to some other IP, and setup slaves
that are not dlz at all to do a rndc reload on that one,that way you can 
automate everything through database and only have to call rndc reload 
manually on slaves for zones you change. Doing it that way, you get the 
16k qps from bind and also have full database integration.


Only real issue is dlz host also has no idea when a zone is updated since 
its in mysql, so there is no way to send a notify to slaves either, 
probably best to code a program on slaves to listen on a socket for 
updates and tell them to rndc reload when you change a zone file.


I wouldn't go any higher than bind97, bind98 while I could do dig @dlzhost 
axfr blah.com just fine, slave did not find a bind98 dlz master 
authoratative so would not transfer the zone, a bug I still have not 
heard back on...



Dan.



On Tue, 8 Mar 2011, Paul Ooi Cong Jen wrote:



On 08-Mar-2011, at 4:31 PM, Eivind Olsen wrote:


Cent OS+BIND 9.7.3+DLZ(BDB as backend)
# rndc reload 2mysite.net
rndc: 'reload' failed: not found
rndc reload not work correctly,why?


I've not used DLZ, but in general the error message you see is the same
one you'd see if BIND didn't know about the zone. For example:

# rndc reload doesntexists.zone
rndc: 'reload' failed: not found
# rndc reload bohrnag.org
zone reload up-to-date
#


Is both of the zone loaded from DLZ?




I did a quick search on the net, and it looks like it might also be an
issue with the permissions on the database files, depending on the user
BIND is running as?
For example,
http://fixunix.com/dns/55171-chrootd-bind-dlz-file-__db-00-perms-causing-rndc-reload-fail-where-set-change-them.html

Regards
Eivind Olsen
eiv...@aminor.no

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


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


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


Re: rndc: 'reload' failed: not found

2011-03-08 Thread Torsten Segner

This usually happens when your nameserver isn't configured for the zone to be 
reloaded.


Ciao
Torsten



Am Tue, 8 Mar 2011 14:47:02 +0800
schrieb ShanyiWan w...@114.com.cn:

 Cent OS+BIND 9.7.3+DLZ(BDB as backend)
 
 # rndc reload 2mysite.net
 rndc: 'reload' failed: not found
 
 rndc reload not work correctly,why?
   
 --
 ShanyiWan
 2011-03-08
 
 ___
 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/listinfo/bind-users

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


Re: rndc: 'reload' failed: not found

2011-03-08 Thread Eivind Olsen

On Tue, 8 Mar 2011 04:07:51 -0600 (CST), Dan wrote:

You cannot reload a dlz zone file. The zone is dynamic in mysql.


That's fine, but the original poster said Cent OS+BIND 9.7.3+DLZ(BDB 
as backend), which lead me to believe he's using BDB and not MySQL.


Take what I say here for what it's worth (not much, since I've got no 
experience with DLZ). Maybe the link I gave earlier wasn't any good? 
(this one: 
http://fixunix.com/dns/55171-chrootd-bind-dlz-file-__db-00-perms-causing-rndc-reload-fail-where-set-change-them.html 
- I'd at least suggest the original poster looks at it to see if is of 
any help).


Regards
Eivind Olsen
eiv...@aminor.no

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


Re: rndc: 'reload' failed: not found

2011-03-08 Thread Eivind Olsen
 Is both of the zone loaded from DLZ?

In my tests? Neither of the zones, it was just meant to show that the
rndc reload error message was the same as if BIND had no idea about the
zone.

Regards
Eivind Olsen
eiv...@aminor.no

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


rndc: 'reload' failed: not found

2011-03-07 Thread ShanyiWan
Cent OS+BIND 9.7.3+DLZ(BDB as backend)

# rndc reload 2mysite.net
rndc: 'reload' failed: not found

rndc reload not work correctly,why?

--
ShanyiWan
2011-03-08

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