error message: /etc/namedb/named.boot:1: syntax error near

error message: /etc/namedb/named.boot:1: syntax error near

Post by Blower, Phi » Wed, 03 Mar 1999 04:00:00



I'm trying to get ISC's BIND 8.1.2 to work on a FreeBSD 2.2.8 box.
The make and install went smoothly. I'm trying to set it up as a secondary
server. The primary is an older version of BIND running on a Solaris box.
The only file I have is a named.boot file since I'm hoping to get the backup
files directly from the Solaris box. My named.boot file consists of the
following 6 lines:

directory /etc/namedb
secondary harbor.ab.ca 10.10.0.2 db.harbor
secondary 10.10.in-addr.arpa 10.10.0.2 db.10.10
primary 0.0.127.in-addr.arpa 10.10.0.2 db.127.0.0
forwarders 10.10.0.1 207.245.42.250 206.186.50.33
options forward-only

The message that I keep getting is:
Feb 18 12:50:58 ns2 named[266]: /etc/namedb/named.boot:1: syntax error near
directory
Feb 18 12:50:58 ns2 named[267]: Ready to answer queries.
I do not have a named.conf file but I don't think that I need one.

Does anyone know what this means and what I can do about it?

Thanks very much.
Phil.

 
 
 

error message: /etc/namedb/named.boot:1: syntax error near

Post by Jeff Schreibe » Wed, 03 Mar 1999 04:00:00



>I do not have a named.conf file but I don't think that I need one.

    Why do you not think you need one?  The named.conf file is the same
    function as the named.boot file... just in a different syntax.  

    Somewhere you've configured your server to use the named.boot file as
    the configuration file...

Quote:>directory /etc/namedb
>secondary harbor.ab.ca 10.10.0.2 db.harbor
>secondary 10.10.in-addr.arpa 10.10.0.2 db.10.10
>primary 0.0.127.in-addr.arpa 10.10.0.2 db.127.0.0
>forwarders 10.10.0.1 207.245.42.250 206.186.50.33
>options forward-only

    You want a conf file that looks like so:

options {
        directory "/etc/namedb";
        forward only;
        forwarders {
                10.10.0.1;
                207.245.42.250;
                206.186.50.33;
        };

Quote:};

zone "harbor.ab.ca" {
        type slave;
        file "db.harbor";
        masters {
                10.10.0.2;
        };

Quote:};

zone "10.10.in-addr.arpa" {
        type slave;
        file "db.10.10";
        masters {
                10.10.0.2;
        };

Quote:};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "10.10.0.2";
Quote:};


 
 
 

error message: /etc/namedb/named.boot:1: syntax error near

Post by Michael L. Barro » Wed, 03 Mar 1999 04:00:00


BIND doesn't use named.boot files anymore. It uses a named.conf file, which is a
totally different format. Please check out:
        http://www.isc.org/bind8/index.html
--
Michael L. Barrow

 
 
 

error message: /etc/namedb/named.boot:1: syntax error near

Post by Mark_Andr.. » Wed, 03 Mar 1999 04:00:00


        BIND 8 uses a different configuration file format and hence a
        different default configuration file name, /etc/named.conf.

        There is a perl script (src/bin/named/named-bootconf.pl) that can
        be used to tranlate named.boot to named.conf.

        Mark

Quote:> I'm trying to get ISC's BIND 8.1.2 to work on a FreeBSD 2.2.8 box.
> The make and install went smoothly. I'm trying to set it up as a secondary
> server. The primary is an older version of BIND running on a Solaris box.
> The only file I have is a named.boot file since I'm hoping to get the backup
> files directly from the Solaris box. My named.boot file consists of the
> following 6 lines:

> directory /etc/namedb
> secondary harbor.ab.ca 10.10.0.2 db.harbor
> secondary 10.10.in-addr.arpa 10.10.0.2 db.10.10
> primary 0.0.127.in-addr.arpa 10.10.0.2 db.127.0.0
> forwarders 10.10.0.1 207.245.42.250 206.186.50.33
> options forward-only

> The message that I keep getting is:
> Feb 18 12:50:58 ns2 named[266]: /etc/namedb/named.boot:1: syntax error near
> directory
> Feb 18 12:50:58 ns2 named[267]: Ready to answer queries.
> I do not have a named.conf file but I don't think that I need one.

> Does anyone know what this means and what I can do about it?

> Thanks very much.
> Phil.

--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia

 
 
 

1. puzzling error message: syntax error near <end of file>

after starting named:

named -b <path of db files>

and looking in syslog messages, I get this:

Oct 28 12:52:13 speed named[20515]: starting.  named 8.2.2-P5 Thu Oct 26

scate/home/esasim/spd-bind8.2.2P5/src/bin/named
Oct 28 12:52:13 whatever named[20515]:
/scate/home/esasim/bind8.2.3P5/etc/:1: syntax error near <end of file>
Oct 28 12:52:13 whatever named[20515]: listening on [127.0.0.1].53 (lo)
Oct 28 12:52:13 whatever named[20515]: listening on [whatever].53 (eth0)
Oct 28 12:52:13 whatever named[20515]: Forwarding source address is
[0.0.0.0].1544
Oct 28 12:52:13 whatever named[20516]: Ready to answer queries.
Oct 28 12:52:13 whatever named[20516]: sysquery: nlookup error on ?

I don't have a db file called 1. I do have a db files that start with 1; the
loopback file, and my ptr file, but those files look fine.

Can any suggest/comment/recognize, what's wrong?

--
Erol Asim
Computer Science Undergraduate
Year III
University of Western Ontario

2. Bug in function _lwp_lock_memory in LW

3. BIND 9 syntax error near '<quoted string>'

4. Moto. Distributors willing to work with Unversities

5. FW: BIND 9 syntax error near '<quoted string>'

6. 4.10 bug

7. Urgent!!....problem with rndc star..syntax error near ''

8. Zone Alarm recommended ports?

9. problem with rndc star..syntax error near '<quoted string>'

10. syntax error near zone

11. /etc/named.boot: Error 0

12. dns-rdata-fromtext syntax error message

13. Bind cannot open /etc/namedb/named.conf