Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.