dns_master_load: root.servers:85: isc_lex_gettoken() failed: unexpected end of input
Talat Malik
talat at pobox.com
Wed Apr 23 21:22:13 UTC 2008
Hi All,
Problem solved. It turned out that notepad did not insert CR?LF. I added a
blank line and it worked.
Thanks.
_____
From: Talat Malik [mailto:talat at pobox.com]
Sent: Tuesday, April 22, 2008 7:47 PM
To: 'bind-users at isc.org'
Subject: RE: dns_master_load: root.servers:85: isc_lex_gettoken() failed:
unexpected end of input
For some reasons attachments did not show up in previous message. so I am
attaching them inline with the message
Hi All,
I installed Bind 9.4 on Windows XP and am getting following error while
starting named service:
dns_master_load: root.servers:85: isc_lex_gettoken() failed: unexpected end
of input
My configuration files are attached here:
Thanks for the help.
------------------------- named.conf -------------------------
// MASTER & CACHING NAME SERVER for EXAMPLE, INC.
// maintained by: me myself alone
// CHANGELOG:
// 1. 9 july 2003 - did something
// 2. 16 july 2003 - did something else
// 3. 23 july 2003 - did something more
//
options {
directory "C:\Windows\system32\dns\etc";
// directory directory "/var/named";
// version statement - inhibited for security
// (avoids hacking any known weaknesses)
version "get lost";
// optional - disables all transfers
// slaves allowed in zone clauses
allow-transfer {"none";};
// Closed DNS - permits only local IPs to issue recursive
queries
// remove if an Open DNS required to support all users
// or add additional ranges
allow-recursion {192.168.15.0/24;};
};
//
// log to /var/log/named/example.log all events from
// info UP in severity (no debug)
// defaults to use 3 files in rotation
// BIND 8.x logging MUST COME FIRST in this file
// BIND 9.x parses the whole file before using the log
// failure messages up to this point are in (syslog)
// typically /var/log/messages
//
logging{
channel myssi_log{
// file "/var/log/named/example.log" versions 3 size 2m; -- unix
file "C:\Windows\system32\dns\etc\log\myssi.log" versions 3 size 2m;
severity info;
print-severity yes;
print-time yes;
print-category yes;
};
category default{
myssi_log;
};
};
// required zone for recursive queries
zone "." {
type hint;
file "root.servers";
};
zone "myssi.com" {
type master;
file "master.myssi";
// enable slaves only
// allow-transfer {192.168.23.1;192.168.23.2;);
allow-transfer {"none";};
};
// required local host domain
zone "localhost" {
type master;
file "master.localhost";
allow-update{none;};
};
// localhost reverse map
zone "0.0.127.in-addr.arpa" {
type master;
file "127.0.0.rev";
allow-update{none;};
};
// reverse map for class C 192.168.15.0
zone "15.168.192.IN-ADDR.ARPA" {
type master;
file "192.168.0.rev";
};
------------------------------------------------------------------
root.servers --------------------------------------------
; This file holds the information on root name servers needed to
; initialize cache of Internet domain name servers
; (e.g. reference this file in the "cache . <file>"
; configuration file of BIND domain name servers).
;
; This file is made available by InterNIC
; under anonymous FTP as
; file /domain/named.root
; on server FTP.INTERNIC.NET
; -OR- RS.INTERNIC.NET
;
; last update: Feb 04, 2008
; related version of root zone: 2008020400
;
; formerly NS.INTERNIC.NET
;
. 3600000 IN NS A.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET. 3600000 A 198.41.0.4
A.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:BA3E::2:30
;
; formerly NS1.ISI.EDU
;
. 3600000 NS B.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET. 3600000 A 192.228.79.201
;
; formerly C.PSI.NET
;
. 3600000 NS C.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET. 3600000 A 192.33.4.12
;
; formerly TERP.UMD.EDU
;
. 3600000 NS D.ROOT-SERVERS.NET.
D.ROOT-SERVERS.NET. 3600000 A 128.8.10.90
;
; formerly NS.NASA.GOV
;
. 3600000 NS E.ROOT-SERVERS.NET.
E.ROOT-SERVERS.NET. 3600000 A 192.203.230.10
;
; formerly NS.ISC.ORG
;
. 3600000 NS F.ROOT-SERVERS.NET.
F.ROOT-SERVERS.NET. 3600000 A 192.5.5.241
F.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:2f::f
;
; formerly NS.NIC.DDN.MIL
;
. 3600000 NS G.ROOT-SERVERS.NET.
G.ROOT-SERVERS.NET. 3600000 A 192.112.36.4
;
; formerly AOS.ARL.ARMY.MIL
;
. 3600000 NS H.ROOT-SERVERS.NET.
H.ROOT-SERVERS.NET. 3600000 A 128.63.2.53
H.ROOT-SERVERS.NET. 3600000 AAAA 2001:500:1::803f:235
;
; formerly NIC.NORDU.NET
;
. 3600000 NS I.ROOT-SERVERS.NET.
I.ROOT-SERVERS.NET. 3600000 A 192.36.148.17
;
; operated by VeriSign, Inc.
;
. 3600000 NS J.ROOT-SERVERS.NET.
J.ROOT-SERVERS.NET. 3600000 A 192.58.128.30
J.ROOT-SERVERS.NET. 3600000 AAAA 2001:503:C27::2:30
;
; operated by RIPE NCC
;
. 3600000 NS K.ROOT-SERVERS.NET.
K.ROOT-SERVERS.NET. 3600000 A 193.0.14.129
K.ROOT-SERVERS.NET. 3600000 AAAA 2001:7fd::1
;
; operated by ICANN
;
. 3600000 NS L.ROOT-SERVERS.NET.
L.ROOT-SERVERS.NET. 3600000 A 199.7.83.42
;
; operated by WIDE
;
. 3600000 NS M.ROOT-SERVERS.NET.
M.ROOT-SERVERS.NET. 3600000 A 202.12.27.33
M.ROOT-SERVERS.NET. 3600000 AAAA 2001:dc3::35
; End of File
_____
From: Talat Malik [mailto:talat at pobox.com]
Sent: Tuesday, April 22, 2008 5:04 PM
To: 'bind-users at isc.org'
Subject: dns_master_load: root.servers:85: isc_lex_gettoken() failed:
unexpected end of input
Hi All,
I installed Bind 9.4 on Windows XP and am getting following error while
starting named service:
dns_master_load: root.servers:85: isc_lex_gettoken() failed: unexpected end
of input
My configuration files are attached here:
Thanks for the help.
More information about the bind-users
mailing list