Fw: Error in Document Ripe-192 (dns example)
----- Original Message ----- From: Fred To: webmaster@ripe.net Sent: Saturday, June 14, 2003 9:18 AM Subject: Error in Document Ripe-192 (dns example) I set up a BIND-8 server per the example file, and found that the following creates errors: company.xy. SOA dns.company.xy. hostmaster.company.xy. ( 1998092900 ; Serial number 86400 ; Refresh 1 day 7200 ; Retry 2 hours 3600000 ; Expire 41.67 days 172800 ) ; Minimum TTL 2 days The closing bracket ")" should appear after the ; Minimum TTL 2 days. This error appears in several places in the document. Please forward this to the authors.
company.xy. SOA dns.company.xy. hostmaster.company.xy. ( 1998092900 ; Serial number 86400 ; Refresh 1 day 7200 ; Retry 2 hours 3600000 ; Expire 41.67 days 172800 ) ; Minimum TTL 2 days
The closing bracket ")" should appear after the ; Minimum TTL 2 days. This error appears in several places in the document.
This is perfectly valid syntax. Actually putting the closing bracket after the Minimum TTL 2 days would render the zone file inparsable. Some explanation: As you know, the brackets enable you to split a resource record over multiple lines. So everything between the opening and closing brackets should be seen as part of one RR. On the other hand everything after the ";" is treated as comments. So putting the ")" behind the ";" would make it invisable to the parser and the RR would not be ending at the appropriate place. -- Olaf ---------------------------------| Olaf M. Kolkman ---------------------------------| RIPE NCC
company.xy. SOA dns.company.xy. hostmaster.company.xy. ( 1998092900 ; Serial number 86400 ; Refresh 1 day 7200 ; Retry 2 hours 3600000 ; Expire 41.67 days 172800 ) ; Minimum TTL 2 days
The closing bracket ")" should appear after the ; Minimum TTL 2 days. This error appears in several places in the document.
This is perfectly valid syntax.
Actually putting the closing bracket after the Minimum TTL 2 days would render the zone file inparsable.
Some explanation: As you know, the brackets enable you to split a resource record over multiple lines. So everything between the opening and closing brackets should be seen as part of one RR.
On the other hand everything after the ";" is treated as comments. So putting the ")" behind the ";" would make it invisable to the parser and the RR would not be ending at the appropriate place.
Change it to: company.xy. SOA dns.company.xy. hostmaster.company.xy. ( 1998092900 ; Serial number 86400 ; Refresh 1 day 7200 ; Retry 2 hours 3600000 ; Expire 41.67 days 172800 ; Minimum TTL 2 days ) and it's perfectly valid again, but with the closing bracket not seemingly being part of the MinTTL field. Piet
* Olaf M. Kolkman <olaf@ripe.net> [2003-06-16 14:58:51 +0200]:
company.xy. SOA dns.company.xy. hostmaster.company.xy. ( 1998092900 ; Serial number 86400 ; Refresh 1 day 7200 ; Retry 2 hours 3600000 ; Expire 41.67 days 172800 ) ; Minimum TTL 2 days
The closing bracket ")" should appear after the ; Minimum TTL 2 days. This error appears in several places in the document.
This is perfectly valid syntax.
Actually putting the closing bracket after the Minimum TTL 2 days would render the zone file inparsable.
Some explanation: As you know, the brackets enable you to split a resource record over multiple lines. So everything between the opening and closing brackets should be seen as part of one RR.
On the other hand everything after the ";" is treated as comments. So putting the ")" behind the ";" would make it invisable to the parser and the RR would not be ending at the appropriate place.
i think 'after' in this case means 'in the next line'. regards, -- Pawel
i think 'after' in this case means 'in the next line'.
agreed.. that is perfectly valid syntax too :-) -- Olaf ---------------------------------| Olaf M. Kolkman ---------------------------------| RIPE NCC
participants (4)
-
Fred
-
Olaf M. Kolkman
-
Pawel Krzesniak
-
Piet Beertema