Setting Up LAN/Internet DNS Server

Experts,

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?

Thanks,

Marvel
marvelsoftAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

paullamhkgCommented:
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.
ranadastidarCommented:
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

http://www.siliconvalleyccie.com/linux-hn/dns-static.htm
marvelsoftAuthor Commented:
Hi paullamhkg, can I do this in just two computers only? The setup requires 6 ip address to complete the whole setup.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

paullamhkgCommented:
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.

eg.
$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       192.168.1.41
debns2.joescuz.com.   IN     A       192.168.1.42

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


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

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


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

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 192.168.1.41
dns2, mail2 in 192.168.1.42

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marvelsoftAuthor Commented:
paullamhkg your answer is very much appreciated. I will try this... Thank you.
paullamhkgCommented:
you are welcome ;)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.