Managine DNS (bind) information for OSX client
LuKreme
kremels at kreme.com
Thu May 24 16:56:44 PDT 2007
On 24-May-2007, at 12:24, Kurt Werle wrote:
> I will soon start managing 2-3 domain's DNS information. I really
> don't
> enjoy editing named.conf by hand. I'm considering installing
> webmin to
> help deal with this, but thought I'd ask for suggestions for other
> tools.
No on ENJOYS editing named.conf by hand, but I've never used a tool
that really makes any of that much easier. Maybe webmin has really
improved in the last 5 years, but when i last used it it was
basically just a web portal into the named.conf and domain.tld files.
I use bbedit locally and nvi on my servers, usually by doing:
cp /etc/namedb/establisheddomain.tld /etc/named/newdomain.tld
vi /etc/named/newdomain.tld
<make the single change to the SOA line and change the serial number>
vi /etc/namedb/named.conf
shift-G # end of file
yy # yank last line
p # put
/lastdomain.tld # find whatever domain is on the last line
cw # ChangeWord
newdomaint.tld # the new domain
esc # exit edit mode
n # find next occurance of lastdomain.tld
. # do again (cw to newdomain.tld)
ZZ # Save and exit nvi
and then restart named
Of course, then I have to go to my secondary DNS and edit named.conf
there as well.
--
You try to shape the world to what you want the world to be. Carving
your name a thousand times won't bring you back to me. Oh no, no I
might as well go and tell it to the trees. Go and tell it to the
trees, yeah.
More information about the MacOSX-admin
mailing list