Skip to content

yumusb/whois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whois

Golang based whois query server.

files

yumu@yumu-pc:/whois$ tree
.
├── README.md
├── config.toml # config file 
├── go.mod
├── go.sum
├── html # front template
│   ├── bootstrap.min.css
│   ├── domain.js
│   ├── index.html
│   └── starter-template.css
├── main.go # main 
├── new_gtlds_list # refer https://github.com/rfc1036/whois/blob/next/new_gtlds_list
└── tld_serv_list # refer https://github.com/rfc1036/whois/blob/next/tld_serv_list

1 directory, 11 files

config

port = "8080" # Port to listen
front = "https://whois.ip.sy" # Validate valid frontend domain (http_origin)
ip = ["x.x.x.x","x.x.x.x"] # Replace the output of the local IP with 8.8.8.8. ex: https://whois.ip.sy/#pp.ua

demo

https://whois.ip.sy/

thanks

https://github.com/rfc1036/whois
https://getbootstrap.com/docs/5.1/examples/jumbotron/