EDNS0 Query Target Authoritative server implementation
sudo ./eqt-server.py config.conf
[default]
example.com = /var/zones/default/example.com.zone
example.net = /var/zones/default/example.net.zone
[virtualhost1.dnsprovider.com]
mydomain.com = /var/zones/virtualhost1/mydomain.com.zone
[virtualhost2.dnsprovider.com]
mydomain2.com = /var/zones/virtualhost2/mydomain2.com.zone
;;; ;;; [global] clause specifies global setting of eqt-server. ;;; [global] ;; listening port port = 53 ;; If logfile is specified, eqt-server writes log to the file. ;; Otherwise writes to stderr. ;logfile = eqt.log ;;; ;;; Zone definitions ;;; ;; [default] clause specifies zones in "default" virtual host. [default] ; <zonename> = <path-to-zonefile> example.com = /var/zones/default/example.com.zone example.net = /var/zones/default/example.net.zone sub.example.net = /var/zones/default/sub.example.net.zone ;; ;; Zone definitions for virtual hosts. ;; ; If incoming DNS query containis EDNS0 query target hostname (QTH), ; eqt-server uses zones in "virtual host" maching the QTH for response. ; If no virtual hostname matches or no QTH, zones in [default] are used. [virtualhost1.dnsprovider.com] mydomain.com = /var/zones/virtualhost1/mydomain.com.zone [virtualhost2.dnsprovider.com] mydomain2.com = /var/zones/virtualhost2/mydomain2.com.zone ; multiple hostnames [a.user1.dnsprovider.com,b.user1.dnsprovider.com] mydomain3.com = /var/zones/user1/mydomain2.com.zone