📝 Update documentation
This commit is contained in:
parent
0913cc9eae
commit
502640c165
1 changed files with 2 additions and 1 deletions
3
lib.py
3
lib.py
|
@ -68,7 +68,8 @@ def get_serial(dns_zone):
|
||||||
"""
|
"""
|
||||||
Query the serial number from the NS
|
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:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue