check Bind

2013-08-27 Thread Nidal Shater
Hi I'm using centos-6.3 and I install bind9 on it by using (./configre, make, make install) How can I test if Bind is installed correctly ( I tried service named status but I received the error message named :unrecognized) Nidal

Re: check Bind

2013-08-27 Thread Alan Clegg
On Aug 27, 2013, at 8:19 AM, Nidal Shater ngiw2...@hotmail.com wrote: Hi I'm using centos-6.3 and I install bind9 on it by using (./configre, make, make install) How can I test if Bind is installed correctly ( I tried service named status but I received the error message named

Re: check Bind

2013-08-27 Thread Alan Clegg
On Aug 27, 2013, at 8:37 AM, Nidal Shater ngiw2...@hotmail.com wrote: I have tried named -g but an I have received the error message loading configuration from '/etc/named.conf' /etc/named.conf:63: open: /etc/named.rfc1912.zones: file not found loading configuration: file not found

/etc/named.conf won't be installed !!

2013-08-27 Thread Nidal Shater
hi when I install BIND,,,BIND won't install the /etc/named.conf file why ??? I think bind has problems with centos6.3 could anybody figure it out PS: I use (./configure ,make, make install ) to install it

Re: check Bind

2013-08-27 Thread Alan Clegg
On Aug 27, 2013, at 9:04 AM, Nidal Shater ngiw2...@hotmail.com wrote: why the file named.conf didn't indtalled in /etc,,, is there something wrong with BIND9 ,,did you have any link that have a trusted bind9 for centos6.3 AND thanks. BIND does not install configuration files when you do

Re: /etc/named.conf won't be installed !!

2013-08-27 Thread Steven Carr
This was answered in the other thread, you need to create your own config file when installing from source. Steve On 27 August 2013 17:02, Nidal Shater ngiw2...@hotmail.com wrote: hi when I install BIND,,,BIND won't install the /etc/named.conf file why ??? I think bind has problems with

Re: /etc/named.conf won't be installed !!

2013-08-27 Thread Mike Hoskins (michoski)
-Original Message- From: Nidal Shater ngiw2...@hotmail.com Date: Tuesday, August 27, 2013 12:02 PM To: bind-users@lists.isc.org bind-users@lists.isc.org Subject: /etc/named.conf won't be installed !! hi when I install BIND,,,BIND won't install the /etc/named.conf file why ??? I think

Re: redirecting root hints to fake internal root server

2013-08-27 Thread WBrown
From: Colin Harvey colinedwardhar...@yahoo.com My environment is firewalled from the real world. For queries on zones to which I'm not master, I want to recurse to a corporate server. nslookup some.internal.hostname.com internal.corporate.server works fine. Setting . to use this

Re: redirecting root hints to fake internal root server

2013-08-27 Thread Colin Harvey
Thanks.  But I already have that option for the internal.hostname.com zone.  Still not seeing traffic going to 192.168.1.1.   Colin From: wbr...@e1b.org wbr...@e1b.org To: Colin Harvey colinedwardhar...@yahoo.com Cc: bind users bind-users@lists.isc.org;

Re: check Bind

2013-08-27 Thread Alan Clegg
On Aug 27, 2013, at 2:21 PM, Nidal Shater ngiw2...@hotmail.com wrote: I create named.conf by my self and then when I type named -g it tolds me that named.ca :not found ,,, what that means ?? It means you typed in a sample without knowing what it does. I'll take a wild guess and say

Re: redirecting root hints to fake internal root server

2013-08-27 Thread Colin Harvey
  dig +trace host.internal.hostname.com responds with a list of authoritative nameservers for the zone and the error dig: couldn't get address for ns1.corporate.hostname.com where the error cycles through all four of the authoritative nameservers.   Also ns1.corporate.hostname.com is not

chroot /var/run permissions

2013-08-27 Thread johnh
Greetings, I'm upgrading my bind installation on one of my hosts, and everything seems to be working properly although I'm getting a permissions error/warning in the log on startup: Aug 27 14:24:45 flotsam named[13746]: Required root permissions to open '/var/run/named.pid'. Aug 27 14:24:45

Re: /etc/named.conf won't be installed !!

2013-08-27 Thread Carl Byington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2013-08-27 at 16:02 +, Nidal Shater wrote: when I install BIND,,,BIND won't install the /etc/named.conf file why ??? I think bind has problems with centos6.3 You might want to try an RPM install: http://www.five-ten-sg.com/mapper/bind

Re: redirecting root hints to fake internal root server

2013-08-27 Thread Kevin Darcy
On 8/27/2013 1:07 PM, Colin Harvey wrote: My environment is firewalled from the real world. For queries on zones to which I'm not master, I want to recurse to a corporate server. nslookup some.internal.hostname.com internal.corporate.server works fine. nslookup is a terrible DNS

Re: chroot /var/run permissions

2013-08-27 Thread Mark Andrews
/var/run/named.pid and /var/run/named/session.key need to be writable by named. Additionally their parent directories need to be writable by named so the files can be removed on shutdown. The files are not writable by named. -rw-r--r-- 1 root named6 Aug 27 14:35 named.pid

Re: chroot /var/run permissions

2013-08-27 Thread Edward DeLargy
John, You should see if your full root on the box what permissions named has as a group and what the (bind/named) user has. If your running some restricting permissions via the sudoers you may need to lighten up to 775 from the chroot'd directory down giving the ownership the named group