Skip to content
nielsdPublic

About

dig web console - simple but powerful web console for the BIND’s Domain Information Groper (dig) Tool - delv (DNSSEC Tool) and whois

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

Repository files navigation

dig-web

dig + delv + WHOIS web console - simple but powerful web console for the BIND’s Domain Information Groper (dig) Tool - the powerful lookup tool for the DNS from ISC

Beside dig, it offers the delv DNSSEC analyzer / validator too.

(dig-web bases on flask and a fork of avasylev/dig-net - thx to avasylev)

dig-web is coded in Python3 as Flask project. For user security reasons, all elements are bundled with the code.

demo

check out out demo at https://dig.sysip.de

thx to syndicat for hosting

usage

for (default) dig mode

dig egov.eu <more options>

or for "delv mode"

dig delv egov.eu <more options>

or for "whois mode"

dig whois <more options> egov.eu

screenshot

---------------------------------------

      dP oo          
      88             
 d888b88 dP .d8888b. 
88    88 88 88    88 
88.  .88 88 88.  .88 
 88888P8 dP  8888P88 
                 .88 
             d8888P

by Niels Dettenbach <nd@syndicat.com>
---------------------------------------
web interface for the "dig" DNS tool
 - write "-h" for detailed dig options 
 - write "delv ..." for delv (DNSSEC)
 - write "delv -h" for delv help
 - write "whois ..." to call WHOIS
 - write "whois -h" for WHOIS help
---------------------------------------
        
        
> dig egov.eu
  
; <<>> DiG 9.16.33 <<>> egov.eu
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35632
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 84106d296c843288010000006419782f513a2fa227bc4841 (good)
;; QUESTION SECTION:
;egov.eu.           IN  A
;; ANSWER SECTION:
egov.eu.        86400   IN  A   62.146.88.146
;; Query time: 0 msec
;; SERVER: 84.200.14.11#53(84.200.14.11)
;; WHEN: Tue Mar 21 10:26:07 CET 2023
;; MSG SIZE  rcvd: 80

installation

Copy the full source tree - then run the installer to establish the flask web application including its own micro webserver.

cd /var/www/dig-web/
chmod 755 install.sh
./install.sh

as WSGI behind NGINX

To run dig-web as WSGI per systemd, use / load the provided systemd file into your systemd.

On your nginx, a minimum config looks like:

server {
        server_name dig.sysip.de;
        root /var/www/dig-web;
        location / { try_files $uri @dig_web; }
        location @dig_web {
                include uwsgi_params;
                uwsgi_pass unix:/tmp/dig-web.sock;
        }
}

but you should add SSL for proper work with any browser.

run your own BIND

We recommend to run your own local instance of BIND with the provided configuration (named.conf) to avoid unwanted caching effects or potential manipulations on your resolution path.

use /etc/resolv.conf

nameserver 127.0.0.1
nameserver ::1

changes

  • 1.2
  • added a optimized recursively resolving BIND config
  • added demo in README
  • 1.1
  • added whois support
  • 1.0
  • added "delv mode" - support for delv DNSSEC check tool
  • added support for "dig" in input line
  • v0.8

contributions

contributions are welcome.

  • localize external references (JSS, CSS etc.)
  • additional Shell Escape Filtering
  • bug fixes
  • compatibility improvements

About

dig web console - simple but powerful web console for the BIND’s Domain Information Groper (dig) Tool - delv (DNSSEC Tool) and whois

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages