LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-18-2004, 12:22 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Kubuntu 20.04 on workstation, CentOS 6.x on servers
Posts: 1,181

Rep: Reputation: 47
setup a dns server


I want to setup a DNS server on my Red hat server. The server is connected to my router with my other machines, I just want it to act as a local DNS server. I would configure my router to use it as secondary or maybe even primary DNS.

I just want to know what are the steps required to do this. I have webmin so it will be that much easier, but I'm just not sure what all the DNS terms mean, like foward master zone, etc... I just need more clarification on the whole concept.

Basically what I want to do is

1) my own root domain (my own .com, I'll probably call it .loc for local) this would be local only so no need to register it etc.... I just want my dns server to have it. So I can then have different domains like iceteks.loc, which would be a local version of my site... this would enable me to play with virtual hosting as well.

2) I want to hold world wide DNS records so that it checks my server before it checks my isp's, and if it's not on my server, it checks my ISP's (mine would be primary, my ISP's would be secondary, which is set in my router). I'd want it to automaticly download the DNS entries from a given DNS server, maybe like a few at a time. Is that possible?

I know such questions.


Thanks in advance for the help, very much apreciated.
 
Old 06-19-2004, 02:35 PM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Re: setup a dns server

Quote:
Originally posted by Red Squirrel
I want to setup a DNS server on my Red hat server. The server is connected to my router with my other machines, I just want it to act as a local DNS server. I would configure my router to use it as secondary or maybe even primary DNS.

I just want to know what are the steps required to do this. I have webmin so it will be that much easier, but I'm just not sure what all the DNS terms mean, like foward master zone, etc... I just need more clarification on the whole concept.

Basically what I want to do is

1) my own root domain (my own .com, I'll probably call it .loc for local) this would be local only so no need to register it etc.... I just want my dns server to have it. So I can then have different domains like iceteks.loc, which would be a local version of my site... this would enable me to play with virtual hosting as well.

2) I want to hold world wide DNS records so that it checks my server before it checks my isp's, and if it's not on my server, it checks my ISP's (mine would be primary, my ISP's would be secondary, which is set in my router). I'd want it to automaticly download the DNS entries from a given DNS server, maybe like a few at a time. Is that possible?

I know such questions.


Thanks in advance for the help, very much apreciated.


DNS is not a small topic that can be explained in a newsgroup. Start with the book "DNS and Bind". You can find an online version also somewhere.
 
Old 06-19-2004, 04:07 PM   #3
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Kubuntu 20.04 on workstation, CentOS 6.x on servers
Posts: 1,181

Original Poster
Rep: Reputation: 47
Thanks, any other online resources I can read? Searching for the book right now but the more the better.
 
Old 06-22-2004, 09:15 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
hmm reading man pages is a good idea too.

man named.conf
man named
man rndc

i can advice u to prefer "forward first" (read man of the named.conf). so your nameserver wont search for domain records over internet. it will ask your ISP dns server, and it will cahce the replies come from your ISP nameserver. so a little less network trafic and faster name solving.
 
  


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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
DNS server setup and mail server rajivsalwan Linux - General 4 07-15-2006 01:24 AM
DNS setup for email server basketkase999 Linux - Networking 1 04-02-2005 11:19 AM
How to setup Secondary DNS server?? dwarf007 Linux - Networking 0 03-21-2005 04:47 AM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration