Skip to content

Instantly share code, notes, and snippets.

@arrfab
arrfab / pdns-pipebackend.py
Created June 13, 2016 12:18 — forked from sokratisg/pdns-pipebackend.py
PowerDNS PipeBackend python example
#!/usr/bin/python -u
import sys, os, time
import random
class DNSLookup(object):
"""Handle PowerDNS pipe-backend domain name lookups."""
ttl = 30