LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-07-2005, 11:38 AM   #1
eugenevdm
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
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?
 
Old 03-07-2005, 11:55 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 03-07-2005, 12:21 PM   #3
eugenevdm
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 03-07-2005, 12:28 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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
 
Old 03-07-2005, 12:35 PM   #5
eugenevdm
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
how many domain names do you administer?
 
Old 03-07-2005, 12:49 PM   #6
eugenevdm
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 03-07-2005, 01:35 PM   #7
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Webmin isn't a tool that I use, but if you feel comfortable with it, by all means go ahead.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bind9 and rndc.conf redsky Linux - Networking 1 04-13-2005 05:59 PM
Named & RNDC TheRealDeal Linux - General 11 06-20-2004 01:49 PM
SUSE 9.1: named.conf works, but including separate conf files doesn't??? registering Linux - Distributions 0 06-09-2004 04:03 PM
cannot find named.conf and /var/named kaushikma Red Hat 1 02-07-2004 12:49 PM
named without rndc spank Linux - Newbie 0 12-16-2003 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration