Skip to content

Instantly share code, notes, and snippets.

x0 xero

Block or report user

Report or block xero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@xero
xero / python-nameserver.py
Created Jun 7, 2019 — forked from dustyfresh/python-nameserver.py
DNS nameserver implemented in python
View python-nameserver.py
#!/usr/bin/env python3
import sys
from datetime import datetime
import time
from time import sleep
from dnslib import DNSLabel, QTYPE, RD, RR, RCODE
from dnslib import A, AAAA, CNAME, MX, NS, SOA, TXT
from dnslib.server import DNSServer
View disapprove.php
<?php
class_extends Exception {
public function __construct($msg, $code=0, Exception $prev=null) {
parent::__construct("ಠ_ಠ", $code, $prev);
}
public function __toString() {
return "ಠ_ಠ";
}
}
?>
You can’t perform that action at this time.