Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Simple DNS Server API

Tags:

dns

Is there some API that I can use to build a simple DNS server, preferably in Java? All I want my DNS server to do is answer with the same IP address for any request.

like image 953
TripShock Avatar asked Feb 28 '26 19:02

TripShock


1 Answers

The DNS protocol is fairly simple, all you need is the ability to catch UDP requests. Once you've captured the request you would then use the appropriate response, or iterative/recursive methods to get unfamilar DNS records. [That requires prior knowledge of DNS servers]

RFC DNS

About DNS

JDNSS may be what you are looking for. It is hosted on SF and it is opensource.

like image 105
monksy Avatar answered Mar 03 '26 09:03

monksy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!