///|
fn main {
let source = "$ORIGIN example.\n$TTL 1h\n@ SOA ns hostmaster 2026081001 1h 5m 1w 1h\n@ NS ns\nwww A 192.0.2.10\nwww AAAA 2001:db8::10"
match @zone.parse_zone(source) {
Err(error) => println(error.code() + ": " + error.message())
Ok(document) => {
let statistics = @zone.calculate_zone_statistics(document)
println(@zone.render_statistics_text(statistics))
}
}
}