Coder Social home page Coder Social logo

kashifpk / dns-ng Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 4.0 228 KB

DNS server with support for dynamic redirection, easy management and usage of a backend database for record keeping

Home Page: http://www.compulife.com.pk/oss/dns_ng

Python 100.00%

dns-ng's People

Contributors

kashifpk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zennro algby gsdu8g9

dns-ng's Issues

Traceback

jxy@jkxxx:~/kashifpk-DNS-NG-c326f83$ python DNS_NG.py
Traceback (most recent call last):
File "DNS_NG.py", line 122, in
factory = MyDNSServerFactory(clients=[resolver])
File "DNS_NG.py", line 24, in init
self.RM = RedirectManager()
File "/home/jay/kashifpk-DNS-NG-c326f83/redirect_manager.py", line 17, in init
self.load_redirects()
File "/home/jxy/kashifpk-DNS-NG-c326f83/redirect_manager.py", line 35, in load_redirects
'domain_re': re.compile(R.query_domain)
File "/usr/lib/python2.7/re.py", line 190, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.7/re.py", line 244, in _compile
raise error, v # invalid expression
sre_constants.error: nothing to repeat

Store configuration in /etc

Default config file should be stored in /etc/dnsng/dnsng.ini with option to specify an alternate config file at DNS-NG startup.

DNS resolution for country TLDs

Currently the DNS server doesn't seem to resolve country TLDs for example a DNS A query for compulife.com.pk returns NOT FOUND. perhaps it needs to follow the response to another DNS server.

DNS Server stops responding when started from within the UI

If the DNS Server is started using the start server option in the UI form, it stops responding after replying to 1,2 queries. If the dns server is started separately using the command line: python DNS_NG.py --daemon, it works correctly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.