LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-22-2008, 04:54 AM   #1
yawe_frek
Member
 
Registered: Sep 2005
Distribution: feather 0.72-usb, DSL,CentOS,Ubuntu, Redhat 9
Posts: 144

Rep: Reputation: 15
how do i setup a caching nameserver in centos 5


hi guys,
i need help on setting up caching nameserver in centos 5. thanks
 
Old 02-22-2008, 05:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
Best option is to just install the caching-nameserver rpm for the version of bind you are running. it's normally available from the same place you got the bind rpm's from, e.g. yum, cd's etc... e.g. http://mirror.centos.org/centos/5/os...0.el5.i386.rpm

Last edited by acid_kewpie; 02-22-2008 at 05:25 AM.
 
Old 02-22-2008, 07:41 AM   #3
yawe_frek
Member
 
Registered: Sep 2005
Distribution: feather 0.72-usb, DSL,CentOS,Ubuntu, Redhat 9
Posts: 144

Original Poster
Rep: Reputation: 15
Thanks, after i install the rpm package and i restart the service i got this :

rpm -ivh caching-nameserver-9.3.3-10.el5.i386.rpm
Preparing... ########################################### [100%]
1:caching-nameserver ########################################### [100%]
[root@radius ~]# rpm -qa|grep caching-nameserver
caching-nameserver-9.3.3-10.el5
[root@radius ~]# /etc/init.d/named restart
Stopping named: [FAILED]
Starting named:
Error in named configuration:
zone localdomain/IN: loaded serial 42
zone localhost/IN: loaded serial 42
zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
zone 255.in-addr.arpa/IN: loaded serial 42
zone 0.in-addr.arpa/IN: loaded serial 42
zone my.internal.zone/IN: loading master file my.internal.zone.db: file not found
internal/my.internal.zone/IN: file not found
zone my.ddns.internal.zone/IN: loading master file slaves/my.ddns.internal.zone.db: file not found
internal/my.ddns.internal.zone/IN: file not found
zone my.external.zone/IN: loading master file my.external.zone.db: file not found
external/my.external.zone/IN: file not found
[FAILED]

what am i still doing wrong !!!! help
 
Old 02-22-2008, 09:54 AM   #4
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 489

Rep: Reputation: 37
hi,
Better post the configuration files named.conf and the zone files

PHP Code:
zone my.internal.zone/INloading master file my.internal.zone.dbfile not found
internal
/my.internal.zone/INfile not found
zone my
.ddns.internal.zone/INloading master file slaves/my.ddns.internal.zone.dbfile not found
internal
/my.ddns.internal.zone/INfile not found
zone my
.external.zone/INloading master file my.external.zone.dbfile not found
external
/my.external.zone/INfile not found 
Also check the location of zone db files as its saying its not finding them. Are you using chroot for dns?
 
Old 02-22-2008, 12:37 PM   #5
yawe_frek
Member
 
Registered: Sep 2005
Distribution: feather 0.72-usb, DSL,CentOS,Ubuntu, Redhat 9
Posts: 144

Original Poster
Rep: Reputation: 15
yes.. you are right i notice that centos 5 installs dns in chroot but all i need is just a caching-nameserver which i have intalled.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install Caching-nameserver rpm Karthi_India Linux - Newbie 1 06-28-2007 02:49 AM
a problem with a caching-nameserver -9.3.2 in my ppc faytoday Linux - Networking 1 12-18-2006 03:40 AM
need help on caching nameserver yawe_frek Linux - Networking 1 12-08-2006 09:35 AM
checklist for caching nameserver masand Linux - Software 1 07-30-2005 07:14 AM
Problems with caching nameserver on slackware 9.1 dave_blob Linux - Networking 11 04-20-2004 02:46 AM


All times are GMT -5. The time now is 09:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration