A DNS Server implemented by Python with powerful lib dnslib
.
Not a DNS proxy!
Typically it's a homework from SUSTech CS305 Computer Networking. Thought it was easy but it turned out that it's far more complicated than any other homework I had in this course.
-
With
FLAG_TS_ITER
set toTrue
, NS records can be also parsed into IP address, which is exactly what a real DNS server should do. -
CNAME
answers are automatically attached withA
type IP.