Menu

Tree [b0393b] main /
 History

HTTPS access


File Date Author Commit
 docs 2026-02-19 bluedragonsecurity bluedragonsecurity [c0bb18] Initial import of rldns
 obj 2026-02-20 bluedragonsecurity bluedragonsecurity [6536da] Fix: Null pointer dereference in rtrim function
 src 2026-02-20 bluedragonsecurity bluedragonsecurity [6536da] Fix: Null pointer dereference in rtrim function
 zones 2026-02-19 bluedragonsecurity bluedragonsecurity [c0bb18] Initial import of rldns
 Makefile 2026-02-19 bluedragonsecurity bluedragonsecurity [c0bb18] Initial import of rldns
 Makefile_for_honggfuzz 2026-02-20 bluedragonsecurity bluedragonsecurity [6536da] Fix: Null pointer dereference in rtrim function
 README 2026-02-20 BlueDragonSecurity BlueDragonSecurity [b0393b] Update README
 configure 2026-02-19 bluedragonsecurity bluedragonsecurity [c0bb18] Initial import of rldns
 rldns 2026-02-20 bluedragonsecurity bluedragonsecurity [6536da] Fix: Null pointer dereference in rtrim function
 rldns.conf 2026-02-19 bluedragonsecurity bluedragonsecurity [c0bb18] Initial import of rldns

Read Me

This is the next version for rldns server that I developed in 2018, the new version is : rldns-1.3

 * rldns 1.3
 *  (c) Copyright by Indodev All Rights Reserved 
 * Developed by : Antonius (w1sdom)
 * www.bluedragonsec.com
 * indodev.asia
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *

rldns is free lightweight dns server software developed by indodev.asia



INSTALLATION
To install rldns, just type : ./configure && make && make install




CONFIGURATION
Once installed, you may configure rldns.conf at /usr/local/rldns/rldns.conf. Each keyword(s) on rldns.conf:
- port keyword is used to specify dns server port
- worker keyword used to specify how many worker(s) will you use
- version keyword is mark of rldns version
- zones keyword used to specify path of zone files (should inside rldns directory)
- dns1 and dns2 keyword(s) are used to specify another dns server for rldns to dig, if no record found for a domain request
- resolvertype keyword to determine resolver type, suggested resolver type is 2 for best a name load balancing resolver performance
Below is an example of correct rldns.conf configuration:

;default rldns Configuration File
;use comma to put comment(s) 
;recommended setting with 2 or 3 workers
port 53
worker 1
version "RLDNS-1.3"
;all zone files must be on zones directory, otherwise it will be ignored
zones zones/*.zone
dns1 8.8.4.4
dns2 8.8.8.8
;a name resolver type can be 1 or 2 
;Resolver Type 1, if more than 1 ip address for a name to resolve, this will do a dns based load balancing without randomizing ip addresses (for a name request only)
;Resolver Type 2, if more than 1 ip address for a name request to resolve, this will randomize multiple ip sequences for dns based load balancing (for a name request only)
;By default, resolver type is 2 (suggested resolver type is 2 for best a name load balancing resolver performance)
resolvertype 2




ZONE FILES
Each zone file for each domain located at /usr/local/rldns/zones. A zone file for a domain must have .zone extension.
A zone file should starts with  keyword : "masterzone"  followed by a domain name. Format: masterzone <domain name>

A RECORD
Format :  Arecord  <ip address>
To add an A record, keyword "Arecord" must preceed an ip address.
Maximal A records for each domain is 18. To add a C name, use keyword:"CNAMErecord" followed by c name record for domain.

MX
Format: MXrecord <name>
To add MX, use keyword:"MXrecord" followed by mx record name.  

NS RECORD
Format: 
- NSrecord <name>    
or 
- NSrecord <name> <ip address>
To add ns record, use keyword: "NSrecord" followed by name.

Below is example of correct zone file configuration for example1.com, note ! above configuration should be saved as example1.com.zone at /usr/local/rldns/zones folder 

;example1.com testing zone file for rldns daemon
;use comma to put comment(s)
masterzone example1.com
;you can provide a record up to 18 (max is 18)
Arecord 10.10.0.1
Arecord 10.10.1.2
Arecord 192.168.1.2
Arecord 192.168.2.2
Arecord 192.168.2.3
Arecord 172.10.10.1
Arecord 208.79.92.177
Arecord 208.79.92.178
Arecord 208.79.92.179
Arecord 208.79.92.180
Arecord 208.79.92.181
Arecord 208.79.92.182
Arecord 208.79.92.183
Arecord 208.79.92.184
Arecord 208.79.92.185
Arecord 208.79.92.186
CNAMErecord www
CNAMErecord blog
CNAMErecord mail
MXrecord smtp
NSrecord ns1 192.168.1.1 
NSrecord ns2 192.168.1.2
NSrecord ns3 192.168.1.3
NSrecord ns4 192.168.1.4

 

HOW TO RUN RLDNS ?

/usr/local/rldns/rldns






MongoDB Logo MongoDB