General discussion

Locked

Linux-How to setup a Domain name service?

By Blue screen ·
Can anyone explain how to setup a domain name service?

name, primary name server(SOA)?
add a record?
etc.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by Toivo Talikka In reply to Linux-How to setup a Doma ...

Here are a couple of pointers to begin with:

http://www.tldp.org/HOWTO/DNS-HOWTO.html

http://www.jalix.org/ressources/reseaux/misc/bind/~vrac/bind-1.html

The last document is originally from the Red Hat site and it describes the key configuration files in a nutshell. Please note that it describes BIND 8, the filenames have changed in version 9 but the principles remain the same.

You can also go to http://kbase.redhat.com/faq/ and register to access the knowledgebase. Do a search on 'DNS Tips'.

The graphical user interface of Fedora Core will allow you to manage your zone file easily. You can also use Webmin to fully administer your DNS server.

It is also possible to do everything from the command line - the vi editor and the rndc command are all you need. If you need a quick 'command line survival guide', let me know.

A good way to start is to set up just a caching DNS server for your LAN. You use the server to cache DNS reguest and service your LAN. If a domain is not found, your server will send a request to the DNS server at your ISP.

To have a primary name server for a domain, your server needs to be in a domain itself so that the name server entries for your domain in the internet point to your IP address. You need to open TCP port 53 in your firewall and forward those requests to your server, preferably in the DMZ.

You can run a DNS server even if you have a dynamic IP address. Not pretty but it has been done.

The file /var/named/named.ca lists the root servers in the DNS system. The file /var/named/mydomain.com.zone contains the details of your domain which are passed to the domain servers on the net when requested.

Collapse -

by Toivo Talikka In reply to

Please note that to have a primary name server for a particular domain, your server needs to be in another domain itself so that the name server entries for your domain in the internet point to your IP address. Once you have your second domain registered, being the domain you want to host DNS for, you need to get the registrar to alter the domain record for this domain so that its entries point to your first domain, e.g. ns1.mycurrentdomain.org, assuming that your DNS server is called ns1.

Collapse -

by G... In reply to Linux-How to setup a Doma ...

Like all other ones I know.
Install the SW and insert the records you want like click new and fill the form.

Back to Linux Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums