mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-05-14 10:25:24 -04:00
21 lines
348 B
Python
21 lines
348 B
Python
#!/usr/bin/env python3
|
|
|
|
'''Test for AXFR from Knot to Bind'''
|
|
|
|
from dnstest.test import Test
|
|
|
|
t = Test()
|
|
|
|
master = t.server("knot")
|
|
slave = t.server("bind")
|
|
zones = t.zone_rnd(10) + t.zone(".") + t.zone("records.")
|
|
|
|
t.link(zones, master, slave)
|
|
|
|
t.start()
|
|
|
|
master.zones_wait(zones)
|
|
slave.zones_wait(zones)
|
|
t.xfr_diff(master, slave, zones)
|
|
|
|
t.end()
|