LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-14-2010, 04:35 AM   #1
alwaysalearner
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Rep: Reputation: 0
How to set up dns server?


Hi to all
Can anybody help meto set up a dns server?
 
Old 12-14-2010, 04:47 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,221

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Of course, we are here to help. You must say which distribution you are using, which server do you want (if not already choosed, I recommend "dnsmasq" for small home network). After reading manual you should known everything what is needed. In the short: create entries in /etc/hosts and /etc/ethers (if you also want DHCP) and configure server to run as daemon on boot.

Last edited by eSelix; 12-14-2010 at 04:49 AM.
 
Old 12-14-2010, 03:37 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,910

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
This is a big question - what you are asking us to do is to write a manual (actually, several manuals).If I had time to do that...well, actually, there is a chance that someone will come along who has the time to spend thousands of hours on your question, but, if I were you, I wouldn't be holding my breath.

if you want more direct help, I would suggest the following
  • please define what you want the DNS server to do for you; if you don't understand how various this question might be, please have a look at the 'BIND recipes' book, which has code fragments to deal with hundreds and hundreds of different use cases
  • understand networking; the first part of the book 'DNS and Bind' is good for this, but many other books exist. Alternatives are the linuxhomenetworking site (not just the DNS page), or yolinux.
  • dnsmasq, as suggested by eSelix is a great little program; probably unsuitable if you are doing this in order to learn enough about DNS to sell your skills in this area to a Fortune 500, but great for home users
  • please ask direct, detailed, questions...'tell me all about DNS' would be a very difficult question to answer, simply because it needs such a lot of answering, and covers so many aspects, where 'how can I set up a simple caching DNS server, for a simple SOHO network, using a DSL network interface and a wired connection to my five Linux workstations' is orders of magnitude simpler to answer, just because it eliminates so much that you would have to write to answer the first question adequately
 
Old 12-22-2010, 04:31 AM   #4
alwaysalearner
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the replies

Thanks all for the replies
But as i am a beginner to linux its not quite possible for me to understand all the terminologies of whatever is told
Can you suggest me something which i can understand?
Please if possible.......?
 
Old 12-22-2010, 04:32 AM   #5
alwaysalearner
LQ Newbie
 
Registered: Feb 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Or just let me know from where to start?
 
Old 12-22-2010, 04:39 AM   #6
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,221

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Please, refine your question: what exactly do you want to do, how large is your network, where you want to install your DNS server (on router or on PC, on which distribution)? As I said before, you can start from installing "dnsmasq" It is very simple.

Last edited by eSelix; 12-22-2010 at 04:41 AM.
 
Old 12-22-2010, 04:56 AM   #7
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 500

Rep: Reputation: 56
don't suggest anything, untill you know what he/she really need/want.
suggesting things wildly will only confuse the questioner more.
Thus for now, dnsmasq is not an option (yet), untill further information is gathered/provided.
 
  


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
set parenr DNS server baambooli Slackware 2 11-13-2006 01:28 AM
How do I keep my DNS server settings set? hamster Mandriva 3 10-28-2006 07:57 PM
Hostname not set with DNS server bcrisler Linux - Networking 3 03-18-2004 02:38 PM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM


All times are GMT -5. The time now is 02:42 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