Bind 9.0.1....rndc.conf file
Brian Murphy
BrianM at dial.pipex.com
Tue May 1 06:42:20 UTC 2001
Example config of rndc
/etc/rndc.conf
options {
default-server localhost;
default-key localkey;
};
server localhost {
key localkey;
};
key localkey {
algorithm hmac-md5;
secret "key";
};
/etc/named.conf.internal
acl "localnet" { 192.168.0.0/24; };
options {
directory "/var/named";
pid-file "/var/run/named.pid.internal";
recursion yes;
allow-query { "localnet"; };
listen-on { 192.168.0.1; };
};
controls {
inet 127.0.0.1 allow { localhost; } keys { localkey; };
};
key localkey {
algorithm "hmac-md5";
secret "key";
};
zone "blah.net" in {
type master;
file "zone/blah.net.hosts";
};
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of simmen
Sent: Tuesday, May 01, 2001 8:27 AM
To: bind-users at isc.org
Subject: Bind 9.0.1....rndc.conf file
options {
directory "/var/named/my.net";
};
zone "." {
type hint;
file "named.ca";
};
zone "0.0.127.in-addr.arpa"{
type master;
file "named.local";
};
..
..
..so on..
this is the starting of my rndc.conf file...
when i use rndc to start/stop/reload server. it gives the err as follows
"/etc/rndc.conf:2: syntax error near '<quoted string>'
rndc: /etc/rndc.conf: failure"
i wonder y does it act like that???
i mail this issue before and some one replyed that "why am i using rndc
to start and stop the server"...
but r v not suppose to reload/start/hault with the rndc..??
or just killing the named demon..and starting it again..?
please help..
thanks
simmen
----------------------------------------------------------
Register Chinese Character Domain Name- ONLY US$17/year!
100 Chinese Domain Names are registered every minute!
Time is clicking, what are you waiting for?
Go to http://www.chinese-dns.com Register NOW!!!
Verisign¤¤¤å³»¯Å°ì¦W²{¦b¼ö½æ¤¤¡T
¨C¤ÀÄÁ³£¦³100Ó¤¤¤å°ì¦W³Qµù¥U¡M±zÁÙ¦bµ¥¤°»ò©O¡S
¨CÓºô§}¬üª÷17¤¸/¦~¡T²{¦b´N¨ì http://www.chinese-dns.com µù¥U¡T
More information about the bind-users
mailing list