Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.