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.
|
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
|
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 |
All times are GMT -5. The time now is 04:11 AM. |