LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-13-2004, 07:42 AM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
Runing standalone DNS


I want to run a standalone DNS server in a small network separated from the i-net via a linux box. I've read that I need 'named' or 'bind' (what is the difference?). I've read on some docs that these servers are master-slave, i mean one main server and another one that connects to the first. Can I run only one server that serve the whole network? All I need from it is to connect seehere.myhost.net to 111.222.333.444 (only an example, ofcourse) if a browser request that. If it was only about my PC, I would write it in my /etc/hosts, but I can't do on all the network PCs.
So, what would happen if that server runs, and it is set as primary DNS on a machine.. this machine requests resolving of seethere.anotherhost.net which isn't at the database of the network NS. Would it search it in his master server database (unwillingly, I don't have another running 'master' server) or the requesting machine will refere to it's secondary DNS?
Thanks in advance : )
 
Old 10-13-2004, 07:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the application is called BIND (Berkeley Internet Name Daemon), but the server executable is called named (name daemon) you do not require an additional server at all, just check the bind-howto at tldp.org and that should take you through setting it up to server your network.

if you are only after a very basic system like you suggest, i'd recommend you to have a look at dnsmasq. this is a *VERY* simple dns server, which basically serves queries from a central /etc/hosts or relays to external mail servers. it's very nice, and requires absolutely minimal configuration.
 
Old 10-13-2004, 08:12 AM   #3
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Original Poster
Rep: Reputation: 32
dnsmasq should be more than enough in my case, but except from that task I really want to _learn_ something about the 'real way things go' ; ) so I'll try bind
thanks
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Runing a program on startup extremebfn Linux - General 3 01-15-2005 04:57 AM
how to know shorewall is runing? shams Fedora 2 12-26-2004 09:41 AM
runing the make command Paridoth Mandriva 4 10-30-2004 05:57 PM
runing .out files What Gives? 1337 Twinkie Fedora 4 07-26-2004 11:00 PM
help runing a java program matt_w_lambert Programming 4 10-31-2003 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration