pb with bind chrooted on fc2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem with my bind-chroot on fc2.when I install this
 package my bind(DNS) can't  resolv local name .I would like to know
 why?
my files configurations are 
that is /etc/named.conf
> // a caching only nameserver config
> //
> controls {
>         inet 127.0.0.1 allow { localhost; } keys { rndckey; };
> };
> zone "." IN {
>         type hint;
>         file "named.ca";
> };
>
> zone "localhost" IN {
>         type master;
>         file "localhost.zone";
>         allow-update { none; };
> };
>
> zone "0.0.127.in-addr.arpa" IN {
>         type master;
>         file "named.local";
>         allow-update { none; };
 };
and that is /etc/rndc.conf
>  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
>  * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
>  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
>  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
>  */
>
> /* $Id: rndc.conf,v 1.7 2001/01/09 21:40:45 bwelling Exp $ */
>
> /*
>  * Sample rndc configuration file.
>  */
>
> options {
>         default-server  localhost;
>         default-key     "rndckey";
> };
>
> server localhost {
>         key     "rndckey";
> };
>
 include "/etc/rndc.key";
and that is /etc/rndc.key
>
 key "rndckey" {
>         algorithm       hmac-md5;
>         secret "xxx";




now that are the zone files
> /var/named/localhost.zone
> $TTL    86400
> $ORIGIN localhost.
> @                       1D IN SOA       @ root (
>                                         42              ; serial (d. adams)
>                                         3H              ; refresh
>                                         15M             ; retry
>                                         1W              ; expiry
>                                         1D )            ; minimum
>
>                         1D IN NS        @
>                         1D IN A         127.0.0.1
> /var/named/named.local
>
> $TTL    86400
> @       IN      SOA     localhost. root.localhost.  (
>                                       1997022700 ; Serial
>                                       28800      ; Refresh
>                                       14400      ; Retry
>                                       3600000    ; Expire
>                                       86400 )    ; Minimum
>               IN      NS      localhost.
>
> 1       IN      PTR     localhost.
> [root@ndogbong root]# nslookup localhost
> Server:         10.100.100.130
> Address:        10.100.100.130#53
>
> ** server can't find localhost: NXDOMAIN
>
> [root@ndogbong root]#
>
>

 but when I uninstall bind -chroot it work find!
or when I comment this line:ROOTDIR=/var/named/chroot of file
/etc/syconfig/named, It work find!
Please I need your help!

-- 
etudiant miagiste tel:9363020 !






On 7/5/05, franklin dibus <franklinn2002@xxxxxxxxx> wrote:
> "I checked my configuration fils"
> But  I beleve that the problem comes from installation of bind-chroot
> modules.
> what is the usefull of this paquage?
> Thank for all
> 
> 
> On 7/4/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
> > Am Mo, den 04.07.2005 schrieb franklin dibus um 18:44:
> > 
> > First of all: Don't mail the digest as full-quote! And please choose a
> > subject which describes your topic-
> > 
> > > I have a problem with my bind-chroot on fc2.when I install this
> > > package my bind(DNS) can't  resolv local name .I wouldt like to know
> > > why?
> > 
> > Check your configuration files - those of bind and the /etc/resolv.conf
> > - and log files.
> > 
> > Alexander
> > 
> > 
> > -- 
> > Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
> > legal statement: http://www.uni-x.org/legal.html
> > Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
> > Serendipity 19:09:16 up 9 days, 2:01, load average: 0.20, 0.13, 0.13 
> > 
> > 
> 
> -- 
> etudiant miagiste tel:9363020 !
> 

-- 
etudiant miagiste tel:9363020 !


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux