maradns server on internet for my domains

Markus Ferlitsch m.ferlitsch at gmail.com
Fri Jul 31 16:13:08 EDT 2009


Hi,

I want to run my own nameserver which should manage my domains/subdomain...

I think I need an ony authoritive version of nameserver.

Here my mararc:

bind_address="public ip
chroot_dir = "/etc/maradns"
random_seed_file="/dev/urandom"
#recursive_acl="0.0.0.0/0"
#ipv4_alias = {}
#ipv4_alias["icann"] = "198.41.0.4, 192.228.79.201, 192.33.4.12, 128.8.10.90,"
#ipv4_alias["icann"] += "192.203.230.10, 192.5.5.241, 192.112.36.4,"
#ipv4_alias["icann"] += "128.63.2.53, 192.36.148.17, 192.58.128.30,"
#ipv4_alias["icann"] += "193.0.14.129, 199.7.83.42, 202.12.27.33"
#maradns_uid=65535
#maradns_gid=65534
#maximum_cache_elements = 1024
#maradns_uid=65534
#default_rrany_set = 15
#timeout_seconds = 5
#max_chain = 15
#max_total = 50
#maxprocs = 20
csv2 = {}
csv2["mydomain.com."] = "db.mydomain.com"
tcp_convert_acl = "0.0.0.0/0"
tcp_convert_server = "public ip"
verbose_level = 3

and here my db.mydomain.com:

mydomain.com.         +3600   SOA     ns1.mydns.com.
postmaster at mydns.com.     2009030601      10800   3600    604800  10800
mydomain.com.         +3600   NS      ns1.mydns.com.
mydomain.com.         +3600   NS      ns2.mydns.com.
mydomain.com.        +3600   MX      10 mail1.sprit.org.
mydomain.com.         +3600   MX      20 mail2.sprit.org.
mail1.sprit.org.        +43200  A       85.124.251.70
mail2.sprit.org.        +43200  A       85.124.251.70
mydomain.com.         TXT     'dns.'
mydomain.com.         +3600   A       ip-webserver
www.mydomain.com..     +3600   A       ip-webserver
xx.mydomain.com.      +3600   A       ip-webserver
*.mydomain.com.       +3600   A       ip-webserver

But when I let to test any web-zonetester (like
http://www.zonecheck.fr) I always get errors.

Could anyone send me an example of an mararc and a zone-file. I think
my files are not complete!?

I only want that my nameservers answers to domains which are in the
zonefiles (also only authorative).

ns1.mydomain.com and ns2.mydomain.com are two subdomains from
mydomain.com which points to two ip adresses, where my two nameserver
are running. Is this all I must do?

greetings, Markus


More information about the list mailing list