Parse error
Kevin Darcy
kcd at daimlerchrysler.com
Tue Mar 20 22:24:42 UTC 2001
af281 at city.ac.uk wrote:
> I did try and go through the named.conf file but could find nothing
> obvious. SO I am pasting the named.conf below as advised.
>
> Is it worth going to BIND 9.1.1-rc5 since its not yet a fully released
> version unlike 9.1.0 ? Especially since I have hundreds of domains and
> this will be the primary ?
>
> Also, the domains and IPs have been changed in the following named.conf but
> everything else is exactly like it is in the named.conf which gives me the
> error
>
> Thanks for the help
>
> Arv
>
> named.conf
> ----------
>
> // -*- WARNING: THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT -*- //
>
> acl "local-servers" {
> localhost;
> };
>
> acl "secondary-servers" {
> 1.2.3.4; // ns1.xyz.org
> };
>
> key rndc_key {
> algorithm "hmac-md5";
> secret
> "SXQncyB3wef4tefgergggg5BsZWFybiBhZnRlciB5b3Uga25vdyBpdCBhbGwgdGhhdCBjb3Vu
> dHMu";
> };
>
> options {
> directory "/var/named";
> pid-file "/var/run/named.pid";
> check-names master warn;
> datasize 20M;
> stacksize 30M;
> statistics-interval 1440; // once per day
> transfer-format many-answers; // faster transfers
> version "DNS server"; // security through obscurity...
> allow-transfer { local-servers; secondary-servers; };
> };
>
> controls {
> inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
> };
>
> logging {
> channel syslog_errors {
> syslog daemon;
> };
> channel file_log {
> file "/var/named/debug.log" versions 3 size 10m;
> severity dynamic;
> print-category no;
> print-severity yes;
> print-time yes;
> };
>
> category default { syslog_errors; };
> // Use this for testing/debug:
> //category default { file_log; syslog_errors; };
>
> // Ignore all "lame server" errors (assuming none of the lame servers
> // belong to us: if they do, they should be fixed.)
> category lame-servers { null; };
> }
Oops. You're missing a semicolon on the line above.
- Kevin
>
>
> view "external" {
> match-clients { any; };
> recursion no; // Refuse recursion for external clients
>
> zone "1.2.3.in-addr.arpa" in {
> type master;
> file "external/7/1.2.3.in-addr.arpa";
> };
>
> zone "blah.co.uk" in {
> type master;
> file "external/b/blah.co.uk";
> };
More information about the bind-users
mailing list