Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
03-07-2005, 12:38 PM
|
#1
|
LQ Newbie
Registered: Mar 2005
Posts: 6
Rep:
|
How to edit named.conf without vi or rndc
I would like an easy way to edit named.conf instead of using VI or rndc. The reason why I would like this is because it would be nice to sort, see what is primary or secondary zones, etc., and also I hope mistakes will not be made if I use this utility. I plan on administering about 5000 domain names. I do not have access to a GUI on my Linux box so this must preferably be a text based utility. Is there such a thing?
|
|
|
03-07-2005, 12:55 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
Most servers don't have a GUI, but what you are trying to do is no problem at all. There are probably close to or more than 100 different editors for text. I love VIM my self, and many people also like emacs. I did my early editing on pico, as it is a super easy interface. Just google for linux text editor and you'll find plenty. You can't screw up a file by the editor you chose to use on it.
Peace,
JimBass
|
|
|
03-07-2005, 01:21 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Posts: 6
Original Poster
Rep:
|
Thank you for your reply.
Perhaps I haven't clearly stated what I am in search of. I want to edit domain names, primary and secondary zones. I want to easily see and scroll through them. I'm not just looking for another text editing utility. Zone files are sensitive and I want the ability to easily add, edit and remove 5000 records. Perhaps you could say I'm looking for a domain name aware text based utility for the named.conf file. Does this make sense?
|
|
|
03-07-2005, 01:28 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
Yes, but it doesn't change my answer any. I run BIND on 3 servers at work, and you're free to use any editor you want on it, even for big files. I use VIM, and strings of piped commands making liberal use of things like sort, and dumping the results into temp files and then concatenating things back together. One of the really great things about linux is the ability to do things any way you see fit, it sounds more like you not being comfortable with the editor and CLI interface than there actually being a problem with any editor.
Peace,
JimBass
|
|
|
03-07-2005, 01:35 PM
|
#5
|
LQ Newbie
Registered: Mar 2005
Posts: 6
Original Poster
Rep:
|
how many domain names do you administer?
|
|
|
03-07-2005, 01:49 PM
|
#6
|
LQ Newbie
Registered: Mar 2005
Posts: 6
Original Poster
Rep:
|
After having spoken with Oryx and doing some additional research I have learned that I should be using Webmin to do this kind of administration.
|
|
|
03-07-2005, 02:35 PM
|
#7
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
Webmin isn't a tool that I use, but if you feel comfortable with it, by all means go ahead.
Peace,
JimBass
|
|
|
All times are GMT -5. The time now is 09:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|