Skip to content
dnslog dns / dns rebinding platform
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
db
docs
examples
lib
test
web
.gitignore
README.md
app.js
config.js.example
favicon.ico
mail.js
package-lock.json
package.json
readme.png

README.md

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
)
You can’t perform that action at this time.