prologin.mdbsync_clients.dns module

MDBSync client regenerating the DNS configuration at each MDB update.

prologin.mdbsync_clients.dns.build_alien_prolo_zone()

Alien machines just need to be able to access netboot.

prologin.mdbsync_clients.dns.build_alien_revdns_zone()

Build the reverse DNS zone for the alien IP range.

It is fully static and could in theory be only built once, but meh.

prologin.mdbsync_clients.dns.build_machines_revdns_zone(machines, mtype, ip)
prologin.mdbsync_clients.dns.build_normal_prolo_zone(machines)
prologin.mdbsync_clients.dns.build_zone(name, records)
prologin.mdbsync_clients.dns.reload_zones()
prologin.mdbsync_clients.dns.update_dns_config(machines_map, metadata)