equal
deleted
inserted
replaced
4 Process bind zonefiles. |
4 Process bind zonefiles. |
5 |
5 |
6 Takes a zonefile as input, and gives a zonefile as output. |
6 Takes a zonefile as input, and gives a zonefile as output. |
7 """ |
7 """ |
8 |
8 |
9 import pvl.args |
9 import logging; log = logging.getLogger('pvl.dns-zone') |
10 import pvl.dns.zone |
|
11 from pvl.dns import __version__ |
|
12 from pvl.dns.zone import ZoneRecord, reverse_ipv4, reverse_ipv6, fqdn |
|
13 |
|
14 import optparse |
10 import optparse |
15 import os.path |
11 import os.path |
16 import logging; log = logging.getLogger('main') |
12 import pvl.args |
|
13 import pvl.dns |
|
14 import pvl.dns.zone |
|
15 |
|
16 from pvl.hosts import __version__ |
17 |
17 |
18 def parse_options (argv) : |
18 def parse_options (argv) : |
19 """ |
19 """ |
20 Parse command-line arguments. |
20 Parse command-line arguments. |
21 """ |
21 """ |