|
|
|
@ -68,7 +68,8 @@ def get_serial(dns_zone):
|
|
|
|
|
"""
|
|
|
|
|
Query the serial number from the NS
|
|
|
|
|
|
|
|
|
|
dns_zone can either be a str or a dns.zone.Zone obj
|
|
|
|
|
The parameter `dns_zone` can either be a `str` or a `dns.zone.Zone` object.
|
|
|
|
|
Error handling is added to return 0 if the query is unsucessful.
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|