Ini kutipan dari Bind v9 Administrator Manual (dengan sedikit tambahan baris
yang dimulai dengan #):
Begin Quote:
A sample minimal configuration file is as follows:
# rndc.conf
key rndc_key {
algorithm "hmac-md5";
secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};
options {
default-server localhost;
default-key rndc_key;
};
#rndc.conf
This file, if installed as /etc/rndc.conf, would allow the command:
$ rndc reload
to connect to 127.0.0.1 port 953 and cause the nameserver to reload, if a
nameserver on the local
machine were running with following controls statements:
#named.conf
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};
#named.conf
and it had an identical key statement for rndc_key.
Running the rndc-confgen program will conveniently create a rndc.conf file
for you, and also
display the corresponding controls statement that you need to add to
named.conf. Alternatively,
you can run rndc-confgen -a to set up a rndc.key file and not modify
named.conf at all.
END Quote.
Kemudian restart named.
Dapid Candra
IT Department - karir.com
----- Original Message -----
From: "blob" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 04, 2003 1:23 PM
Subject: Re: [linux-admin] dns + rndc
> On Thursday 03 April 2003 14:18, dapidc_at_jetcoms wrote:
> > Nambahin lagi.
> > Kalo mau gampang jalanin rndc-confgen.
> >
> > Outputnya di masukkan ke rndc.conf dan rndc.key ATAU ke named.conf,
> > terserah mana enaknya. Lalu restart named pake `service named restart`.
> >
> > Dapid Candra
> > IT Department - karir.com
>
> Thanks, sudah saya masukan output rndc-confgen ke rndc.conf
> kok tetap ga bisa ya?
> jalanin rndc nya supaya listen bagaimana mas dapidc ?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]