LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2009, 03:58 AM   #1
masenko703
Member
 
Registered: May 2003
Posts: 33

Rep: Reputation: 15
Setup BIND server for home network


Hi everyone,
It it possible to setup a bind server for my internal network at home? Currently, all clients DNS requests go to my Verizon FIOS router, which also acts as a DHCP server. I would like to setup a another DNS server using BIND for studing.

Current setup:
Client --> Router (DNS Server) --> Internet

New BIND server setup:
Client --> BIND Server (2nd DNS) --> Router (Primary DNS) --> Internet


How would I go ab this? Would I have to configure a cache naming DNS server?

Thanks guyz
 
Old 08-26-2009, 05:57 AM   #2
0ddba11
Member
 
Registered: Nov 2004
Location: Derby - UK
Distribution: Ubuntu at Home, RedHat Enterprise at Work
Posts: 46

Rep: Reputation: 15
Hi there,

My knowledge of BIND itself is somewhat limited, but I think what you are asking is a more general DNS question so I'll take a stab at it...

As long as your primary DNS server (your router / ISP's DNS server) is available, your client will never use your secondary server, so setting your internal BIND server as your secondary DNS server is not really the way to go.

If all you want your internal DNS server to do is resolve your internal addresses (like most corporate network's DNS servers do) then your primary server should be your BIND server, and you do not really need a secondary, although it may be useful for the cases where your turn off your BIND server and wonder why you can't access the net

You then configure your BIND server to use your ISP's DNS server as a 'forwarder'.

So, if you try to lookup an internal address 'my-pc.my-lan.local' your BIND server will resolve it, then for everything that it does not know the answer to, it will query your ISP's DNS servers and then cache it.
 
Old 08-26-2009, 07:02 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,061

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Quote:
Originally Posted by masenko703 View Post
Hi everyone,
It it possible to setup a bind server for my internal network at home? Currently, all clients DNS requests go to my Verizon FIOS router, which also acts as a DHCP server. I would like to setup a another DNS server using BIND for studing.
Well, if you want to learn Bind, Bind is the way to go. OTOH, if you just want a setup that works and works well you could choose something that was simpler to set up and you might choose something that was more secure. Up to you.

Quote:
New BIND server setup:
Client --> BIND Server (2nd DNS) --> Router (Primary DNS) --> Internet
There is a very limited point in this configuration. Your router will only have a very small dns cache (small maximum number of entries) where a computer-based one can have a cache that is larger. But with the limited expiry of dns entries this will only do you a limited amount of good (if any).

Alternatively....
  • if the problem is that your isp has dns servers which do not perform well or reliably connecting your own dns server to other upstream servers (or arranging that it preferentially chooses one of adequate performance from a lit) makes sense
  • if the problem is that you don't trust your provider's dns, again connecting to other servers (but not your isp's servers) makes sense
  • if the problem is that there are many queries locally (eg, a box with squid, as squid tends to be a bit profligate with dns queries) and you want, for performance reasons, to keep the latency of these queries down, a local dns cache could make sense. I'm still not sure that hooking your cache up to your router's cache adds much, though, as that config probably has higher latency on a cache miss (and, as explained above, you are unlikely to get into the situation in which you have a miss from your computer-based cache and a hit from your router-based one).
 
Old 09-24-2009, 06:27 PM   #4
bhupesh238
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
You might want to look at this guide.

en.kioskea.net/contents/intranet/resdns.php3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup Linux DNS server for a small office/home network? lhnw08 Linux - Server 16 07-24-2009 06:35 AM
Setup DNS server on Ubuntu 7.04 Server edition using Bind 9 breezey Linux - Server 2 09-16-2007 03:36 AM
Bind server and Home Lab jamin123 Linux - Networking 2 07-04-2006 10:09 PM
Home Network Setup Help Linux Server running Windoze XP clients + ADSL router BeaverusIV Linux - Networking 10 04-22-2005 04:07 PM
Newbie wanna setup up a linux network on existing home network... marvc Linux - Networking 3 03-19-2003 09:02 PM


All times are GMT -5. The time now is 08:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration