Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
History: I have a little ISP, one firewall box running a 3wayfirewall, 1 leg external to the net, 1 leg DMZ for the webserver box and 1 leg to a 2 station LAN. I would like to take over the DNS services from my DSL provider who does DNS for me now (to learn more and to get better control)... I got 2-3 static IP addr to use... I use /etc/hosts now for internal lookup and at my scale it works fine. All boxes are RedHat8 OS.
My ?
Would tinydns from DJBDNS work well here, I am told I need two redundant nameservers, a.ns and b.ns. My Google reading leads me to examples and ideas about "split horizon" setups. For me, being redundant is not too possible/critical... there is only one firewall box and one webserver box... so could I use two of the static IP addr on one box (maybe the firewall box ?) and then virtual eth0:0 eth 0:1, then setup 2 tinydns, one for each IP addr and get what I want? which is the world to have a DNS to find my sites.
I just want the www to find 2-3 websites I host and me do the DNS from here.
I highly recommend djbdns. I'm using it and it's wonderful. The only snag is understanding the config file. I recommend searching the web for howto's on installing it. When I did this for the first time, I searched and found about 4 or 5 different howto's and combed over all of them until I had a set of installation commands that I used to set mine up.
I also recommend setting up 2 dns servers. If you already have 2 machines, just install djbdns on both machines. When you setup your first domain, point it to both the IPs of the machines you've setup. From there, just keep setting up new domains to point to the first domain you setup.
I think having 2 servers is a good idea because if (for whatever reason) the first server is not reachable, you still have another one standing by so they can deliver your DNS info. Otherwise, the person trying to view your site just gets a "page cannot be diaplayed" message (or whatever, depending on your browser).
But to be totally honest, yes, you can get by with running just one dns server, since it sounds like your traffic is pretty light anyhow.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.