Setting Up LAN/Internet DNS Server

Posted on 2006-04-11
Last Modified: 2013-12-15

I used bind in debian sarge to configure LAN/Internet DNS Server. I tried several times attempts to do it but I cannot find the exact configurations. Experts may I ask the some help about the procedure on this matter? Can I ping the DNS after such configurations?


Question by:marvelsoft
    LVL 12

    Expert Comment

    have a look on this one it's show you how to setup the DNS server in debian linux.

    and yes you can ping the DNS after config unless your firewall rules disallow ping.
    LVL 5

    Expert Comment

    dear friend

    I am using dns server for my office intranet and the followin site help me a lot to configure the dns server, just try out with this article if u ll find any problem I ll help u for that

    Author Comment

    Hi paullamhkg, can I do this in just two computers only? The setup requires 6 ip address to complete the whole setup.
    LVL 12

    Accepted Solution

    yes, you can do this in just 2 computers, you can put the DNS service  with others service like firewall, dhcp in one computer, www, ftp, etc.... into other computer. all depending on what service(s) going to run, so in your named.conf use the correct ip(s) or aliases, cname will do.

    $TTL 86400          IN     SOA \
                       2004011522     ; Serial no., based on date
                            21600     ; Refresh after 6 hours
                             3600     ; Retry after 1 hour
                           604800     ; Expire after 7 days
                             3600     ; Minimum TTL of 1 hour
    ;Name servers
    debns1                       IN     A   IN     A

    @                             IN     NS      debns1          IN     NS

    ;Mail servers
    debmail1                        IN     A IN     A

    @                             IN     MX      10 debmail1          IN     MX      20

    ;Aliased servers
    debhp                          IN     A  IN     A

    www                         IN     CNAME   debhp      IN     CNAME   debhp

    the above example, dns1, mail1, www, ftp in one computer, and it's ip is
    dns2, mail2 in

    Author Comment

    paullamhkg your answer is very much appreciated. I will try this... Thank you.
    LVL 12

    Expert Comment

    you are welcome ;)

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    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

    20 Experts available now in Live!

    Get 1:1 Help Now