This file is indexed.

/usr/lib/python2.7/dist-packages/easyzone-1.2.2.egg-info/PKG-INFO is in python-easyzone 1.2.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Metadata-Version: 1.1
Name: easyzone
Version: 1.2.2
Summary: Easy Zone - DNS Zone abstraction module
Home-page: http://www.psychofx.com/easyzone/
Author: Chris Miles
Author-email: miles.chris@gmail.com
License: MIT
Description: easyzone
        ========
        
        Overview
        --------
        
        Easyzone is a package to manage the common record types of a
        zone file, including SOA records.  This module sits on top of
        the dnspython package and provides a higher level abstraction
        for common zone file manipulation use cases.
        
        http://www.psychofx.com/easyzone/
        http://pypi.python.org/pypi/easyzone
        https://bitbucket.org/chrismiles/easyzone/
        
        
        Main features:
        
        * A high-level abstraction on top of dnspython.
        * Load a zone file into objects.
        * Modify/add/delete zone/record objects.
        * Save back to zone file.
        * Auto-update serial (if necessary).
        
        
        Requirements
        ------------
        
          * dnspython - http://www.dnspython.org/
        
        
        Build/Test/Install
        ------------------
        
        Build::
        
          $ python setup.py build
        
        Test::
        
          $ python setup.py test
        
        Install::
        
          $ python setup.py install
        
        
        OR with setuptools::
        
          $ easy_install easyzone
        
        
        Examples
        --------
        
        easyzone::
        
          >>> from easyzone import easyzone
          >>> z = easyzone.zone_from_file('example.com', '/var/namedb/example.com')
          >>> z.domain
          'example.com.'
          >>> z.root.soa.serial
          2007012902L
          >>> z.root.records('NS').items
          ['ns1.example.com.', 'ns2.example.com.']
          >>> z.root.records('MX').items
          [(10, 'mail.example.com.'), (20, 'mail2.example.com.')]
          >>> z.names['foo.example.com.'].records('A').items
          ['10.0.0.1']
        
          >>> ns = z.root.records('NS')
          >>> ns.add('ns3.example.com.')
          >>> ns.items
          ['ns1.example.com.', 'ns2.example.com.', 'ns3.example.com.']
          >>> ns.delete('ns2.example.com')
          >>> ns.items
          ['ns1.example.com.', 'ns3.example.com.']
        
          >>> z.save(autoserial=True)
        
        ZoneCheck::
        
          >>> from easyzone.zone_check import ZoneCheck
          >>> c = ZoneCheck()
          >>> c.isValid('example.com', '/var/named/zones/example.com')
          True
          >>> c.isValid('foo.com', '/var/named/zones/example.com')
          False
          >>> c.error
          'Bad syntax'
          >>> 
          >>> c = ZoneCheck(checkzone='/usr/sbin/named-checkzone')
          >>> c.isValid('example.com', '/var/named/zones/example.com')
          True
          >>>
        
        ZoneReload::
        
          >>> from easyzone.zone_reload import ZoneReload
          >>> r = ZoneReload()
          >>> r.reload('example.com')
          zone reload up-to-date
          >>> r.reload('foo.com')
          rndc: 'reload' failed: not found
          Traceback (most recent call last):
            File "<stdin>", line 1, in <module>
            File "easyzone/zone_reload.py", line 51, in reload
              raise ZoneReloadError("rndc failed with return code %d" % r)
          easyzone.zone_reload.ZoneReloadError: rndc failed with return code 1
          >>> 
          >>> r = ZoneReload(rndc='/usr/sbin/rndc')
          >>> r.reload('example.com')
          zone reload up-to-date
          >>>
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Internet :: Name Service (DNS)
Classifier: Topic :: System :: Systems Administration