Skip to content

sry309/dnslog-2

Repository files navigation

DNSLOG

deploy

install nodejs and npm https://nodejs.org/en/download/

git clone https://github.com/hackit-me/dnslog
cd dnslog
npm install
cp config.js.example config.js
cp db/data.db.example db/data.db
# edit config.js
node app.js

set dns record

subdomain type value
l.dnslog.io ns ns.dnslog.io
ns.dnslog.io a [your web server ip]

数据库结构

create table dnslog_user (
	id INTEGER primary key AUTOINCREMENT,
	username text,
	email text,
	avatar_url text,
	subdomain text,
	token text
)

create table dnslog_log (
	id INTEGER primary key AUTOINCREMENT,
	dnslog text,
	inserttime text,
	ip text,
	userid int
)

About

dnslog dns / dns rebinding platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages