LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-03-2008, 08:46 AM   #1
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Rep: Reputation: 15
BIND for local domain for small network


I have a network with 5 devices.
WAN:
DSL modem/router

LAN:
linux server hosting ssh, samba and apache
network printer
several Windows PCs

SAMBA, Apache and SSH all work perfectly. I have ports 22 and 80 open on router for the linux server. I am running ddclient and use dynamic dns in order to reach my server and host websites on it.

I currently have no local DNS server. I want to configure BIND on the linux server because I suspect there are some local domain related issues on my LAN. I'd like to have a local domain called something like jst1.local and forward everything else to public DNS servers recommended by my ISP (ATT).

Can someone recommend an easy to follow howto? I imagine my scenario is common. I need step by step instructions.

I can do this command line or webmin...whichever is easier.
 
Old 04-03-2008, 05:49 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
That's a can of worms. You could install BIND if everything has a static address somewhat easily, but most likely all the clients have dynamic LAN addresses, which means you'd have to stop the DHCP server on your router and let the linux box do it, then integrate DHCP and BIND so when laptop1.jst1.local comes online, it can update BIND, then do it again when laptop2.jst1.local does the same. Its a fair amount of work, and I strongly doubt you need BIND run on your LAN. The only time it really makes sense to do that is if you want to resolve you hosted sites to a local address (private instead of public), but that doesn't provide addresses for your client machines, just if you want to go to site1.com on your linux box, you get a local (192.168, 172.16, 10.) address instead of a WAN.

Again, you're creating a ton of work for yourself, and Windows networking automatically will show you all the machines on your LAN, having a BIND box do real DNS doesn't make much sense, except as an exercise to see if you can do it.

PS, if you need step by step directions, then you aren't ready to do it.

Peace,
JimBass
 
Old 04-04-2008, 10:59 AM   #3
jst1
Member
 
Registered: Jan 2005
Location: chicago
Distribution: Suse 10.0
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by JimBass View Post
That's a can of worms. You could install BIND if everything has a static address somewhat easily, but most likely all the clients have dynamic LAN addresses, which means you'd have to stop the DHCP server on your router and let the linux box do it, then integrate DHCP and BIND so when laptop1.jst1.local comes online, it can update BIND, then do it again when laptop2.jst1.local does the same. Its a fair amount of work, and I strongly doubt you need BIND run on your LAN. The only time it really makes sense to do that is if you want to resolve you hosted sites to a local address (private instead of public), but that doesn't provide addresses for your client machines, just if you want to go to site1.com on your linux box, you get a local (192.168, 172.16, 10.) address instead of a WAN.

Again, you're creating a ton of work for yourself, and Windows networking automatically will show you all the machines on your LAN, having a BIND box do real DNS doesn't make much sense, except as an exercise to see if you can do it.

PS, if you need step by step directions, then you aren't ready to do it.

Peace,
JimBass
I appreciate the advice; you are correct! I tweaked the network settings on my linux server and gave up on BIND! Everything fine now!
 
  


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
Local network/domain setup ? CloudyWizzard Debian 2 08-31-2007 09:17 AM
Setup BIND for Local Domain and hosting domain ALInux Linux - Networking 4 12-19-2006 03:26 AM
passwd: can't get local yp domain: Local domain name not set powah Linux - Security 4 06-08-2006 10:59 AM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 07:20 AM
know what bind, dns, a domain, and an internal network have in common? me neither majortool Linux - Networking 10 07-27-2004 01:42 PM


All times are GMT -5. The time now is 11:47 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration