Skip to content

EDNS0 Query Target Authoritative server implementation

Notifications You must be signed in to change notification settings

hdais/eqt-server

Repository files navigation

eqt-server

EDNS0 Query Target Authoritative server implementation

Requirements

Usage

sudo ./eqt-server.py config.conf

config.conf example

[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

Configuration Guide

;;;
;;; [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

About

EDNS0 Query Target Authoritative server implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages