README
changeset 443 ef1d6f1cbf7c
parent 438 d45fc43c6073
child 447 6f0357759e9b
equal deleted inserted replaced
442:487d4b5faad4 443:ef1d6f1cbf7c
     1 = pvl-hosts =
     1 = pvl-hosts =
     2 DNS/DHCP hosts management for ISC bind9 and dhcpd
       
     3 
     2 
       
     3 DNS/DHCP hosts management/integration for ISC bind9 and dhcpd.
       
     4 
       
     5 Also includes network SNMP discovery.
       
     6 
       
     7 == Hosts ==
       
     8 The `pvl.hosts-* etc/hosts/test` tools read hosts files as input, which have an ini format, using section names as hostnames to configure attributes for that host:
       
     9 
       
    10     [foo]
       
    11         ip  = 127.0.0.1
       
    12 
       
    13     [bar]
       
    14         ip  = 127.0.0.2
       
    15 
       
    16 The default mechanism uses the basename of the given config file as the domain name, so this example file would generate something like the following output for use in a `zone "test" { ... }` zonefile:
       
    17 
       
    18     $ pvl.hosts-dns --forward-zone=test etc/hosts/test
       
    19     foo                               A     127.0.0.1
       
    20     bar                               A     127.0.0.2
       
    21 
       
    22 And correspondingly, the reverse zone for 127.0.0.0/8:
       
    23 
       
    24     $ pvl.hosts-dns --reverse-zone=127 etc/hosts/test
       
    25     1.0.0                             PTR   foo.test.
       
    26     2.0.0                             PTR   bar.test.
       
    27