Re: Problem on installing/config bind

2008-10-28 Thread Matus UHLAR - fantomas
On 28.10.08 13:25, Stephen Liu wrote: Further to my last posting I found the cause of the problem. 28-Oct-2008 05:20:24.549 could not configure root hints from ' /etc/named.root': file not found 28-Oct-2008 05:20:24.549 loading configuration: file not found 28-Oct-2008 05:20:24.549 exiting

Re: Problem on installing/config bind

2008-10-28 Thread Giuliano Gavazzi
Resending as previously sent from wrong address, so it was blocked. On M 27 Oct, 2008, at 17:13 , Stephen Liu wrote: Hi folks, I'm following; BIND http://www.postfixvirtual.net/dnsbind.html# to install and configure bind without success. The DNS server seems not starting. #

Re: masters, slaves, and when I make changes

2008-10-28 Thread Matus UHLAR - fantomas
On 27.10.08 20:19, Scott Haneda wrote: Hello, I hope this should be fairly simple, most of this is just me looking to understand how a certain process works. I have a primary NS where I add in new domains, delete old ones, and of course, update existing ones. My colocation provider has

Re: Problem on installing/config bind

2008-10-28 Thread Stephen Liu
--- Giuliano Gavazzi [EMAIL PROTECTED] wrote: Resending as previously sent from wrong address, so it was blocked. On M 27 Oct, 2008, at 17:13 , Stephen Liu wrote: Hi folks, I'm following; BIND http://www.postfixvirtual.net/dnsbind.html# to install and configure bind

Re: Problem on installing/config bind

2008-10-28 Thread Giuliano Gavazzi
On T 28 Oct, 2008, at 14:26 , Stephen Liu wrote: # ls -l /usr/local/bind/etc/named.conf -rw-r--r-- 1 root staff 231 Oct 28 12:48 /usr/local/bind/etc/ named.conf # ls -l /usr/local/bind/etc/named.root -rw-r--r-- 1 root staff 2878 Oct 28 03:49 /usr/local/bind/etc/named.root # grep staff

Re: Problem on installing/config bind

2008-10-28 Thread Stephen Liu
--- Matus UHLAR - fantomas [EMAIL PROTECTED] wrote: On 28.10.08 13:25, Stephen Liu wrote: Further to my last posting I found the cause of the problem. 28-Oct-2008 05:20:24.549 could not configure root hints from ' /etc/named.root': file not found 28-Oct-2008 05:20:24.549 loading

Re: Problem on installing/config bind

2008-10-28 Thread Stephen Liu
--- Giuliano Gavazzi [EMAIL PROTECTED] wrote: On T 28 Oct, 2008, at 14:26 , Stephen Liu wrote: # ls -l /usr/local/bind/etc/named.conf -rw-r--r-- 1 root staff 231 Oct 28 12:48 /usr/local/bind/etc/ named.conf # ls -l /usr/local/bind/etc/named.root -rw-r--r-- 1 root staff 2878 Oct

Re: Problem on installing/config bind

2008-10-28 Thread Giuliano Gavazzi
On T 28 Oct, 2008, at 15:03 , Stephen Liu wrote: I got my problem fixed. Please read my reply to Matus UHLAR. Thanks and rightly so! My last comment was wrong, since: -t directory Chroot to directory after processing the command line arguments, but before reading the

Re: timeout retrying without EDNS master

2008-10-28 Thread Justin T Pryzby
On Tue, Oct 28, 2008 at 09:48:58PM +0200, Emil Natan wrote: On Tue, Oct 28, 2008 at 3:50 AM, Kevin Darcy [EMAIL PROTECTED] wrote: Emil Natan wrote: Thanks for your answer Kevin. Today I found the problem (two different connectivity problems actually). You are right about the EDNS behaviour,

Re: masters, slaves, and when I make changes

2008-10-28 Thread Scott Haneda
On Oct 28, 2008, at 2:58 AM, Matus UHLAR - fantomas wrote: On 27.10.08 20:19, Scott Haneda wrote: Hello, I hope this should be fairly simple, most of this is just me looking to understand how a certain process works. I have a primary NS where I add in new domains, delete old ones, and of

Re: masters, slaves, and when I make changes

2008-10-28 Thread Scott Haneda
On Oct 27, 2008, at 9:35 PM, Justin Pryzby wrote: On Mon, Oct 27, 2008 at 08:19:55PM -0700, Scott Haneda wrote: Hello, I hope this should be fairly simple, most of this is just me looking to understand how a certain process works. I have a primary NS where I add in new domains, delete old

Re: Problem on installing/config bind

2008-10-28 Thread Giuliano Gavazzi
On T 28 Oct, 2008, at 15:03 , Stephen Liu wrote: I got my problem fixed. Please read my reply to Matus UHLAR. Thanks and rightly so! My last comment was wrong, since: -t directory Chroot to directory after processing the command line arguments, but before reading the

Re: Problem on installing/config bind

2008-10-28 Thread Giuliano Gavazzi
On M 27 Oct, 2008, at 17:13 , Stephen Liu wrote: Hi folks, I'm following; BIND http://www.postfixvirtual.net/dnsbind.html# to install and configure bind without success. The DNS server seems not starting. # /usr/local/bind/sbin/named -u named -t /usr/local/bind -c /etc/named.conf

is it safe to chmod +s named?

2008-10-28 Thread Jeff Pang
Hello, I need to let apache start/stop named. I set: chmod +s named, so httpd (run with nobody) can stop/start it. Is it safe for this behavior? thanks. - jeff

Re: is it safe to chmod +s named?

2008-10-28 Thread Jeremy C. Reed
On Tue, 28 Oct 2008, Jeff Pang wrote: I need to let apache start/stop named. I set: chmod +s named, so httpd (run with nobody) can stop/start it. Is it safe for this behavior? thanks. How does your named listen on network socket? Can you use rndc reconfig or rndc reload instead?

Re: is it safe to chmod +s named?

2008-10-28 Thread Mark Andrews
In message [EMAIL PROTECTED], Jeff Pang writes: Hello, I need to let apache start/stop named. I set: chmod +s named, so httpd (run with nobody) can stop/start it. Is it safe for this behavior? thanks. In general, no. Named is not designed to be run suid root. A ordinary

Re: is it safe to chmod +s named?

2008-10-28 Thread Bryan Irvine
On Tue, Oct 28, 2008 at 7:15 PM, Mark Andrews [EMAIL PROTECTED] wrote: In message [EMAIL PROTECTED], Jeff Pang writes: Hello, I need to let apache start/stop named. I set: chmod +s named, so httpd (run with nobody) can stop/start it. Is it safe for this behavior? thanks. In

Re: masters, slaves, and when I make changes

2008-10-28 Thread Bryan Irvine
On Mon, Oct 27, 2008 at 8:19 PM, Scott Haneda [EMAIL PROTECTED] wrote: Hello, I hope this should be fairly simple, most of this is just me looking to understand how a certain process works. I have a primary NS where I add in new domains, delete old ones, and of course, update existing ones.

Re: is it safe to chmod +s named?

2008-10-28 Thread Jeff Pang
This is my stop/start routines (with Perl CGI): sub named_start { system /path/named -u nobody; return $? == 0 ? 1 : 0; } sub named_stop { system /path/rndc stop; return $? == 0 ? 1 : 0; } So how could I call them safely? Thanks again. --- On Tue, 10/28/08, Jeremy C. Reed