LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2010, 10:15 AM   #1
brgsousa
Member
 
Registered: Aug 2007
Location: Salvador, Brazil
Distribution: Debian, Ubuntu
Posts: 185

Rep: Reputation: 15
Weird bind configuration error


Hi,
a zone file (db.example.edu.br) starts like this:
Code:
; BIND version named 8.4.6-REL-NOESW Tue Jan 25 19:11:36 UTC 2005
; BIND version lamont@mix:/build/lamont/bind-8.4.6/src/bin/named
; zone 'example.edu.br'   last serial 200806011
; from [201.138.35.4].53 (local [201.138.35.15].51183) using AXFR at Wed Mar 12 18:44:01 2008
; NOT TSIG verified


$ORIGIN edu.br.
When I execute named-checkconf /etc/bind/db.example.edu.br it gives me this error:
Code:
/etc/bind/db.example.edu.br:1: syntax error near ';'
I can't identify what can be possibly wrong...
 
Old 03-18-2010, 10:19 AM   #2
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 299

Rep: Reputation: 62
Where is your TTL directive, e.g. $TTL 14400 or similar?
 
Old 03-18-2010, 10:52 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,581

Rep: Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799
Quote:
When I execute named-checkconf /etc/bind/db.example.edu.br it gives me this error:
Code:

/etc/bind/db.example.edu.br:1: syntax error near ';'
named-checkconf is used to check named.conf where ";" is not used for comments.
You should run named-checkzone in order to check a zone file:
Code:
named-checkzone example.edu.br /etc/bind/db.example.edu.br
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Bind problem... dan_jf Linux - Server 2 11-14-2008 11:05 AM
bind Configuration farooqhussain Linux - Networking 2 09-08-2008 10:42 AM
Bind 9.3 configuration metallica1973 Linux - Server 2 03-20-2008 08:31 AM
Weird BIND + Webmin Problem (named.conf) cruzifixion Linux - Networking 1 01-12-2006 05:33 PM
Bind configuration lmcilwain Linux - Software 1 01-31-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration