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!
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'm definetely new to Linux. My project is to set up a RedHat 9 DNS server. I want this server to be set up perfectly i.e. no GUI to eat up system resources, running only the necessary services and making sure that security is handled properly.
I would like your suggestions on following areas:
1. Areas that I need to be careful about
2. Do I setup ipchains or iptables for security?
3. I want to make sure that I can add/modify/delete DNS records using scripts. I definitely need some pointers here. I assume this will be Perl based. Are there any scripts available for me to use? What do I need to install so I can run these scripts?
I really appreciate your help on this project. I'm not in a hurry. If I have a purpose, I learn easier and better. So I figured this is how I will learn Linux and will have a well setup DNS server at the end which I need anyway.
IPTABLES is what is built into the kernel. It is very close to ipchains except it is 3 tables, filter, nat and mangle. iptables is the way to go. As for dns, the setup for that is simply text files. An editor is all you need. If you are looking into scripting enties, then simple shell scripts work, or awk, or sed, or perl. Your choice. What are you trying to script? host entries?
Thanks for your response. I want to script everything in DNS i.e create new DNS files for new domains, modify existing domains records as necessary, etc.
We do a lot of hosting and use Linux based DNS servers. I'll be in charge of DNS servers soon and I want to get good at making sure that I can manage the DNS servers programmatically as opposed to manually.
Managing them manually is easy and boring but not consistent. Managing them using scripts really takes an admin to a new level. It really brings consistency and significant scalability to administration.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.