
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
github.com/HauptJ/Golang-API-DNS
A simple Golang REST API for DNS queries.
8080
or the one specified in main.go
must be available.go get -u github.com/gorilla/mux
go get -u github.com/google/go-cmp/cmp
go get -u github.com/HauptJ/Golang-API-DNS/MXLookup
go get -u github.com/HauptJ/Golang-API-DNS/AddrLookup
go get -u github.com/HauptJ/Golang-API-DNS/CNAMELookup
go get -u github.com/HauptJ/Golang-API-DNS/HostLookup
go build main.go
./main
or .\main.exe
To Build and Run:
NOTE 1: Port 8880 or the one specified in docker-compose.yml and main.go must be available.
NOTE 2: On Windows 10 Pro or greater? You can use Chocolatey to install Docker Desktop for Windows and everything else listed below.
Install Docker and Docker Compose.
Docker
Chocolatey for Windows
Docker Compose
Chocolatey for Windows
Build and Run the container:
docker-compose build
docker-compose up
To stop
docker-compose down
/mx/{host}
/mx/hauptj.com
[
{
"Host": "string",
"Pref": int
},
...
]
[
{
"Host": "aspmx.l.google.com.",
"Pref": 10
},
{
"Host": "alt1.aspmx.l.google.com.",
"Pref": 20
},
{
"Host": "alt2.aspmx.l.google.com.",
"Pref": 30
},
{
"Host": "alt3.aspmx.l.google.com.",
"Pref": 40
},
{
"Host": "alt4.aspmx.l.google.com.",
"Pref": 50
}
]
/addr/{host}
/addr/1.1.1.1
[
"one.one.one.one."
]
/cname/research.swtch.com
string
"ghs.google.com."
/host/localhost
[
"string",
"string"
]
[
"::1",
"127.0.0.1"
]
TODO:
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.