Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-18-2004, 04:30 AM   #1
LQ Newbie
Registered: Feb 2004
Location: Lebanon
Posts: 2

Rep: Reputation: 0
Setting up a DNS server

Hi guys,

I am pretty new to linux and I need to setup my own DNS server so it caches all the requests locally. Can anyone help?

Old 03-18-2004, 04:59 AM   #2
Senior Member
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
type this in concole (or terminal)

rpm -qa | grep bind
rpm -qa | grep caching-nameserver

these commands check if bind and caching-nameserver packets installed.
if u can see "caching-nameserver-x.x-x" and "bind-x.x.x-x".. its ok. if u cant see these packets intall them.. and start service. and enable this service for runlevel 35.. type this commands to do that

/etc/rc.d/init.d/named start
chkconfig --level 35 named on

check your "/etc/resolve.conf" file if "nameserver" exist.

now it s ready to use for local caching-name server
Old 03-18-2004, 05:03 AM   #3
Registered: Feb 2004
Distribution: Debian
Posts: 286

Rep: Reputation: 30
Just to be clear, all you need to do is run bind, use the machine running bind as your nameserver (even if all it does is forward requests), and it'll automatically cache requests for you.


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
setting up dns server logicdisaster Linux - Software 2 01-06-2005 04:02 PM
setting up dns server suprtiger Linux - Networking 2 10-24-2003 04:18 AM
setting up a DNS server dellcom1800 Linux - Networking 2 05-21-2003 09:43 AM
Setting up a DNS Server ChrisDickson Linux - Networking 3 11-12-2001 05:11 PM
setting up a dns server katana Linux - General 5 06-13-2001 02:37 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:22 PM.

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