Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 want to run a standalone DNS server in a small network separated from the i-net via a linux box. I've read that I need 'named' or 'bind' (what is the difference?). I've read on some docs that these servers are master-slave, i mean one main server and another one that connects to the first. Can I run only one server that serve the whole network? All I need from it is to connect seehere.myhost.net to 111.222.333.444 (only an example, ofcourse) if a browser request that. If it was only about my PC, I would write it in my /etc/hosts, but I can't do on all the network PCs.
So, what would happen if that server runs, and it is set as primary DNS on a machine.. this machine requests resolving of seethere.anotherhost.net which isn't at the database of the network NS. Would it search it in his master server database (unwillingly, I don't have another running 'master' server) or the requesting machine will refere to it's secondary DNS?
Thanks in advance : )
the application is called BIND (Berkeley Internet Name Daemon), but the server executable is called named (name daemon) you do not require an additional server at all, just check the bind-howto at tldp.org and that should take you through setting it up to server your network.
if you are only after a very basic system like you suggest, i'd recommend you to have a look at dnsmasq. this is a *VERY* simple dns server, which basically serves queries from a central /etc/hosts or relays to external mail servers. it's very nice, and requires absolutely minimal configuration.
dnsmasq should be more than enough in my case, but except from that task I really want to _learn_ something about the 'real way things go' ; ) so I'll try bind
thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.