code: def create_dns_file(opts, record):
      
      info("[+] \033[92mUpdating dns.txt file\033[0m")
      filename = os.path.join(opts.mirrordir, 'dns.txt')
      localmd5 = get_file_md5(filename)
      remotemd5 = get_md5(record)
      if localmd5 != remotemd5:
          create_file(filename, record)
          info("=> dns.txt file updated")
      else:
          info("=> No update required L: %s => R: %s" % (localmd5, remotemd5))
docs: Create the DNS record file