DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old August 30th, 2003, 08:28 AM
didier didier is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Belgium - Antwerp - Mechelen
Posts: 3 didier User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question bind 9 on redhat: zone file errors

Hi all,
Taking my first steps in setting up a private domain with a bind 9 server on a small redhat 9 linux box...
... and having some problems with my zone files:

... dns_rdata_fromtext: 0.16.172.zone:8: near eol: unexpected end of input
... zone 0.16.172.in-addr.arpa/IN: loading master file 0.16.172.zone: unexpected end of input
... dns_rdata_fromtext: inside.i-m.be.zone:8: near eol: unexpected end of input
... zone inside.i-m.be/IN: loading master file inside.i-m.be.zone: unexpected end of input


The zone files are pretty straight forward:

# more 0.16.172.zone
$ORIGIN 0.16.172.in-addr.arpa
$TTL 86400
@&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;SOA obiwan.inside.i-m.be. (
&nbsp;&nbsp;&nbsp;20030517 ; serial
&nbsp;&nbsp;&nbsp;21600 ; refresh
&nbsp;&nbsp;&nbsp;3600 ; retry
&nbsp;&nbsp;&nbsp;604800 ; expire
&nbsp;&nbsp;&nbsp;86400 ; minimum
&nbsp;&nbsp;&nbsp;)
&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;NS&nbsp;&nbsp;&nbsp;obiwan.inside.i-m.be.

1&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;PTR&nbsp;&nbsp;&nbsp;di-604.inside.i-m.be.
10&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;PTR&nbsp;&nbsp;&nbsp;obiwan.inside.i-m.be.


and...

# more inside.i-m.be.zone
$ORIGIN inside.i-m.be
$TTL 86400
@&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;SOA&nbsp;&nbsp;&nbsp;obiwan.inside.i-m.be. (
&nbsp;&nbsp;&nbsp;20030517 ; serial
&nbsp;&nbsp;&nbsp;21600 ; refresh
&nbsp;&nbsp;&nbsp;3600 ; retry
&nbsp;&nbsp;&nbsp;604800 ; expiry
&nbsp;&nbsp;&nbsp;86400 ; minimum
&nbsp;&nbsp;&nbsp;)
&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;NS&nbsp;&nbsp;&nbsp;obiwan.inside.i-m.be.

obiwan&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;A&nbsp;&nbsp;&nbsp;172.16.0.10
di-604&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;A&nbsp;&nbsp;&nbsp;172.16.0.1

ftp&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;CNAME&nbsp;&nbsp;&nbsp;obiwan
www&nbsp;&nbsp;&nbsp;IN&nbsp;&nbsp;&nbsp;CNAME&nbsp;&nbsp;&nbsp;obiwan


Probably, I'm overlooking something here...

Can anybody help me?
Thanks!

Reply With Quote
  #2  
Old September 1st, 2003, 05:00 PM
didier didier is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Belgium - Antwerp - Mechelen
Posts: 3 didier User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0


Found the problem(s) myself:
Missing e-mail address in SOA and missing period in ORIGIN.

Didier ;-)


Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > bind 9 on redhat: zone file errors


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway