GithubHelp home page GithubHelp logo

recolic / naive-dns-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 4.85 MB

This is a read-only mirror for https://git.recolic.net/root/naive-dns-server

Python 84.58% Makefile 1.05% C 7.74% Shell 6.63%

naive-dns-server's Introduction

Naive DNS Server

This is a naive dns server using Python dnslib.

# Note: Use SPACE character to split columns.
#       DO NOT use TAB character. It's not allowed.
#       DO NOT forget the dot at the end of hostname.
# hostname        TYPE   TTL    VALUE
example.com.       A     60   1.1.1.1
example.com.       A     60   1.0.0.1
example.com.       AAAA  60   2606:4700:30::681b:90e6
# TXT record: DO NOT add the double quote `""`.
example.com.       TXT   120  fuck you
example.com.       TXT   120  v=spf -all
example.com.       NS    120  l.example.com.
b.example.com.     A     60   2.2.2.2
l.example.com.     A     60   127.0.0.1
mail.example.com.  MX    300  5,b.example.com
mail.example.com.  MX    300  10,l.example.com
f.example.com.     CNAME 30   b.example.com

# wildcards
*.b.example.com.   A     60   114.114.114.114
*.b.example.com.   AAAA  60   ::1
?.example.com.     A     120  6.6.8.8
*.example.com.     A     60   8.8.8.8
*.com.             TXT   30   default txt reply for com
*.localhost.ns.    PASS  PASS 127.0.0.1@5353
*                  PASS  PASS 8.8.8.8

naive-dns-server's People

Contributors

recolic avatar

Watchers

James Cloos avatar  avatar

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.