LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-11-2003, 02:45 AM   #1
Digital_Guru
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Question SOA - DNS Server for my Website


Hi, I have a domain that I own, I want to host it on my computer, I know what SOA means and how to run Apache and all but how do I get Name Servers to host my own .com url? Everything I see about DNS and SOA just tells what it stands for and a lot of information about subdomains, I wanna know how to setup the Master Domain the (Ex. mysite.com not the-subdomain.mysite.com. In the DNS configuration utility the BIND utility, it has a field SOA Primary , that's what I want to setup, anyone have any Ideas or help to offer, a step by step process of setting up the DNS from start to finish would be an awsome help, thanks.
 
Old 11-11-2003, 03:17 AM   #2
Digital_Guru
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
and also, in the SOA Text box, is this where I put the DCHP of my Internet provider or something, I have know clue where I am
 
Old 11-13-2003, 12:38 AM   #3
sashhoney
Member
 
Registered: Jul 2003
Distribution: Red Hat, Fedora, Debian
Posts: 85

Rep: Reputation: 15
there r so many how-to's available for dns setup
what u have to do is to configure different zone files
first of all modify named.conf file (generally situated in /etc or /etc/named directory)

if u already have named (bind) installed, there would be a default named.conf
modify this file, following are the possible changes-
1. If u want to access this name server from other pcs in ur network , add following entry in options {} block
allow-query{192.168.0.0/24;127.0.0.1;}; //assuming ur n/w id is 192.168.0.0

2. Add a master forward zone in named.conf file-
in default file u will be having localhost zone block, add one more forward zone block for ur domain name-
e.g,
zone "foo.com" IN
{
type master;
file "foo.com.zone";
}

3) now, there will be a directory value in options{} block
this foo.com.zone file has to be created in that directory,
by default this directory has value "/var/named:"
just create a text file in this directory with the same name that u have specified in the named.conf
i.e., foo.com.zone
copy the content of localhost.zone file here and add the entries of url and ip address u want to map
4) run /usr/sbin/named start to run bind and check log files for any error in settings. then u can post errors for the further debugging
 
  


Reply



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
setting up a dns for my website. please help myk3 Linux - Newbie 1 11-17-2003 06:31 AM
[DNS/NAMED] What is the SOA? BxBoy Linux - Networking 1 03-09-2003 04:31 PM
secondary DNS for website antken Linux - Networking 0 07-09-2002 04:21 AM
SOA resource recod iquadri1 Linux - Networking 0 09-29-2001 01:50 PM

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

All times are GMT -5. The time now is 04:33 PM.

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