Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to setup a DNS server in my LAN,
Here is my details.
I am hosting my own server in my office and all the pc are sharing the same line.
Let say my domain name was xyz.com, so when I am in office I must use 192.168.2.4, instead of xyz.com, some linux guru in the forum told me I have two ways to solve it, once is setup a dns server and another 1 is manually edit each pc host file.
But how can I setup a DNS server?
I got 1 ubuntu server, 1 ubuntu gateway.
my internet line connect to ubuntu gateway and then from gateway distributed to servers and other pc.
So I need to setup DNS server in a new server or I can setup in the gateway?
Sorry to state the obvious, but you set up a DNS server by choosing a DNS server and configuring it accordingly. For such a small scale implementation, I'd suggest you might well get away with a trivial DNS service like dnsmasq. All your machines point their DNS to that machine, and then that machine resolves if it can, and if not, goes to the internet.
configure linux dns server step by step guide Example and Implementation
To set DNS server in local network use this link. They provide step by step configuration for setting up DNS master and slave server in local area network and this article also cover how to configure client for dns server.
Running your own DNS server is not going to solve this reliably or securely. If your DNS record is used outside your network your server won't be reachable, this could happen due to caches in mobile computers, or by malicious action which will otherwise be prevented by DNSSEC.