Home | History | Annotate | Line # | Download | only in ans1
      1 #!/usr/bin/python3
      2 
      3 # Copyright (C) Internet Systems Consortium, Inc. ("ISC")
      4 #
      5 # SPDX-License-Identifier: MPL-2.0
      6 
      7 from dnssec_nsec3.ans1 import common, f025, f055
      8 from isctest.asyncserver import AsyncDnsServer
      9 
     10 
     11 def main() -> None:
     12     keys = common.load_keys()
     13     server = AsyncDnsServer(default_aa=True)
     14     server.install_response_handler(f025.F025Handler(keys))
     15     server.install_response_handler(f055.F055Handler(keys))
     16     server.run()
     17 
     18 
     19 if __name__ == "__main__":
     20     main()
     21