Re: FreeBSD 7.0 BIND high ram usage and weird transfer msg

2008-03-07 Thread Mel
On Thursday 06 March 2008 17:23:05 Abdullah Ibn Hamad Al-Marri wrote:

 etc changed
 user expected 0 found 53 modified
 gid expected 0 found 53 modified
 etc/namedb changed
 user expected 0 found 53 modified
 gid expected 0 found 53 modified

 Freebsd always resets them unless we run named as root

That looks like mtree messages, so that's probably because you run named 
chrooted as per rc.conf. And this is good, /etc/namedb should not be 
writeable by the nameserver.

   dump-file   /var/dump/named_dump.db;

under options should get rid of one.

And I suspect that in your slave zones, you don't have:
file slave/mydomain.net;
  ^^
but rather some file in /etc/namedb.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 7.0 BIND high ram usage and weird transfer msg

2008-03-06 Thread Abdullah Ibn Hamad Al-Marri
Hey,

FreeBSD NS3.WeArab.Net 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar  1 21:19:43 
UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NS3  i386

 6713 bind4  440   234M   184M select  16:42  0.00% named

NS3# tail /var/log/messages
Mar  6 14:50:27 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 14:54:13 NS3 named[6713]: clients-per-query increased to 11
Mar  6 15:02:41 NS3 named[6713]: dumping master file: tmp-LPdMFdRxdo: open: 
permission denied
Mar  6 15:02:41 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 15:14:19 NS3 named[6713]: dumping master file: tmp-4S91cXt75i: open: 
permission denied
Mar  6 15:14:19 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied
Mar  6 15:28:11 NS3 named[6713]: dumping master file: tmp-TjAwfxT5h0: open: 
permission denied
Mar  6 15:28:11 NS3 named[6713]: transfer of 'wearab.net/IN' from 
66.90.108.35#53: failed while receiving responses: permission denied

include /etc/namedb/rndc.key;

controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
};

// $FreeBSD: src/etc/namedb/named.conf,v 1.21.2.6 2007/08/17 04:39:15 dougb Exp 
$
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
//
// If you are going to set up an authoritative server, make sure you
// understand the hairy details of how DNS works.  Even with
// simple mistakes, you can break connectivity for affected parties,
// or cause huge amounts of useless Internet traffic.

options {
directory   /etc/namedb;

query-source address 66.90.105.114 port 53;

listen-on port 53 {
66.90.105.114;  // NS3.WeArab.Net
};

allow-transfer {
66.90.108.35;   // NS1.WeArab.Net
65.215.220.147; // NS2.WeArab.Net
};

allow-query { any; };
allow-recursion { any; };

};


etc changed
user expected 0 found 53 modified
gid expected 0 found 53 modified
etc/namedb changed
user expected 0 found 53 modified
gid expected 0 found 53 modified

Freebsd always resets them unless we run named as root


I didn't have alot of ram usage or these problems when I was running FreeBSD 
6.2-STABLE.



Any hints?

 
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]