Setting Up LAN/Internet DNS Server

Posted on 2006-04-11
Medium Priority
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
  • 3
  • 2
LVL 12

Expert Comment

ID: 16433123
have a look on this one http://www.aboutdebian.com/dns.htm 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.

Expert Comment

ID: 16433168
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

ID: 16453042
Hi paullamhkg, can I do this in just two computers only? The setup requires 6 ip address to complete the whole setup.
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

LVL 12

Accepted Solution

paullamhkg earned 400 total points
ID: 16474161
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
my-name.com.          IN     SOA    debns1.my-name.com. \
                                    joe.my-name.com. {      
                   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
debns2.joescuz.com.   IN     A

@                             IN     NS      debns1
my-name.com.          IN     NS      debns2.my-name.com.

;Mail servers
debmail1                        IN     A
debmail2.my-name.com. IN     A

@                             IN     MX      10 debmail1
my-name.com.          IN     MX      20 debmail2.my-name.com.

;Aliased servers
debhp                          IN     A
debdell.my-name.com.  IN     A

www                         IN     CNAME   debhp
ftp.my-name.com.      IN     CNAME   debhp

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

Author Comment

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

Expert Comment

ID: 16521513
you are welcome ;)

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

850 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