Setting up DNS

Posted on 2006-03-29
Last Modified: 2013-12-16

I just installed Fedora 4 on my desktop and willing to work on DNS. I have cable connection and will be registaring a domain I have some basic idea on configuring DNS. I am wondering , without going for third party DNS , can I use my desktop as a DNS? If yes, what are the particular steps (like editing named.conf and for zone files etc.)
Question by:manjucee
    LVL 22

    Accepted Solution

    You could do it...(and I have done this type of thing in the past!), but for the outside world to be able to use it , ideally you need to be on a fixed ip address (although you can get round this using various tricks), and your PC needs to be available 24 hours a day. As a result, to do this for your own domain, when the service is normally included in most registration packages strikes me as a bit like hard work....but as you've decided that you want to (or perhaps you are going to create a DNS server for your own internal network).......:

    1.    Register your IP as the DNS server for your domain. Normally you require at least 2 IP addresses when you configure your domain.
    2.    Ensure that your router forwards port 53 through to your PC.
    3.    Your named file will include a configuration to convert IP addresses to names, and a second file to convert names to ips. In practice your ISP will convert your IP to a name and you will not be able to do anything about it, because the IP address is registered to your ISP, but you can have an influence over the convertion of your domain name to an ip.

    gives a nice overview of the files involved and their purpose.
    LVL 4

    Expert Comment

    I would also recommend installing Webmin (A browser administration program) on your server. It can take away the major hassle involved with configuring bind.

    A guide on configuring BIND DNS using webmin:

    Author Comment


    Thank you , I will work on that now.

    Thank you for the helpful info. I will check on that.


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
    Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now