Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 15:54:25

Author Topic: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)  (Read 22741 times)

0 Members and 1 Guest are viewing this topic.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
[6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« on: 2013-09-19, 22:34:43 »
In latest 6.5.1.a, ready various new DNS server:

1. PDns (aka PowerDNS) - all issues (especially 'TXT record') already fixed
2. MaraDNS - possible not work but server running well and no error for config
3. NSD - running well but possible allow-transfer still unfinish

Note:
1. 'TXT record' issue in DJBDns already fixed too
2. 'CNAME record' automatically convert to 'A record' for faster DNS request

How to test this 6.5.1.a?. Follow:

1. Open '/etc/yum.repos.d/kloxo-mr.repo' and change:
Code: [Select]
[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/mratwork-testing-neutral-noarch-mirrors.txt
enabled=0
gpgcheck=0

to:
Code: [Select]
[kloxo-mr-testing-neutral-noarch]
name=Kloxo-MR - testing-neutral-noarch
baseurl=https://github.com/mustafaramadhan/kloxo/raw/rpms/testing/neutral/noarch/
mirrorlist=http://rpms.potissima.com/repo/mirrors/mratwork-testing-neutral-noarch-mirrors.txt
enabled=1
gpgcheck=0
includepkgs=kloxomr

2. And then run 'yum cleanup; yum update; sh /script/cleanup'

3. After that, switch to 'pdns' for 'dns' in 'switch applications'

----------------

Note:

- Downgrade to 6.5.0 with 'yum downgrade kloxomr'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #1 on: 2013-09-22, 19:20:23 »
Information related memory usage:

Code: [Select]
DNS         Memory usage    Note
-----------------------------------------------------------------------
nsd          68 MB          - prepare for 3.000 domains
bind        163 MB          - no info
pdns (1)    693 MB          - with 'lauch=gmysql'
pdns (2)    136 MB          - with 'lauch=bind'
djbdns       12 MB          - running triple applications (tinydns, axfrdns and dnscache)
maradns      12 MB          - like djbdns also running triple applications

Information related to how zone config created/updated:
Code: [Select]
---------------------------------------------------------------------
                         Zone Process
DNS Server       ----------------------------------------------------
                     Add                     Update
---------------------------------------------------------------------
Bind                 create zone             update zone
                     update xfr list         update xfr list
                     update zone list        update zone list
                     reload service          reload service
                     -                       send notify to slave
---------------------------------------------------------------------
DJBDns               create zone             update zone
                     update xfr list         update xfr list
                     update xfr database     update xfr database
                     update zone list        update zone list
                     update zone combine     update zone combine
                     update zone database    update zone database
                     reload service          reload service
                     -                       send notify to slave *)
---------------------------------------------------------------------
MaraDNS              create zone             update zone
                     update xfr list         update xfr list
                     update xfr database     update xfr database
                     update zone list        update zone list
                     reload service          reload service
                     -                       send notify to slave *)
---------------------------------------------------------------------
NSD                  create zone             update zone
                     update xfr list         update xfr list
                     update zone list        update zone list
                     update zone database    update zone database
                     reload service          reload service
                     -                       send notify to slave
---------------------------------------------------------------------
PDNS                 create zone             update zone
                     create zone record      update zone record
                     update metadata         update metadata
                     update supermaster      update supermaster
                     - (no need reload)      - (no need reload)
                     -                       send notify to slave **)
---------------------------------------------------------------------

Note:
- Create/update zone handle by 'domains.conf.tpl'
- Update xfr list handle by 'list.transfered.conf.tpl' (list of slave IPs)
- Update zone list handle by 'list.master.conf.tpl'
- Update zone combine include in 'list.master.conf.tpl'
- Update zone database handle by built-in function in application itself
- All processes handle by 'domains.conf.tpl' for PDNS because data in mysql format
*) send notify to slave no exist in djbdns and maradns; use thirdparty perl script
**) send notify to slave handle directly by PDNS
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline nusapenida

  • Junior Member
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
    • http://www.sukandia.com
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #2 on: 2013-09-23, 17:40:44 »
hi,

what is the best choice for dns?
Thanks
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #3 on: 2013-09-23, 18:40:12 »
+ Bind
pros : compatibility, stable with kloxo-mr ? (used in almost 90% world wide)
cons : memory and security issue

+ Djbdns
I Like it

go ahead with other dns software for testing / contribute MRatwork development
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #4 on: 2013-09-23, 18:47:19 »
Depend on your server. For huge domains, don't use djbdns and maradns. For small domains, better choose djbdns, maradns and nsd. With small memory (say it less than 512MB), better choose djbdns or maradns (but nsd still acceptable).

Remember, maradns and pdns still have issue related to 'txt record' (importance for domainkeys and spf for mail authentication purpose).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #5 on: 2013-09-23, 18:50:59 »
My favorite is nsd because small, accept for huge domains and have built-in 'dns notify'.

Remember, djbdns and maradns doesn't have built-in 'dns notify' (and Kloxo-MR use 'dns notify' perl script for this purpose but not ideal).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #6 on: 2013-09-24, 03:24:39 »
i have only 3 domain in my Vps . and with Nginx Proxy . currently  i am using blind . should i switch to djdns ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #7 on: 2013-09-24, 04:10:24 »
Quote from: "marcus5914"
i have only 3 domain in my Vps . and with Nginx Proxy . currently  i am using blind . should i switch to djdns ?
I wasn't remember, djbns in 6.5.0.f already fix 'text record' issue or not. If alredy fixed, use djbdns. Need confirm from other users about this issue (remember, please always use latest version of Kloxo-MR).
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline marcus5914

  • Valuable Member
  • *
  • Posts: 59
  • Karma: +0/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #8 on: 2013-09-24, 14:43:15 »
Quote from: "MRatWork"
I wasn't remember, djbns in 6.5.0.f already fix 'text record' issue or not. If alredy fixed, use djbdns. Need confirm from other users about this issue (remember, please always use latest version of Kloxo-MR).


there is any way to know it is already fix or not ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #9 on: 2013-09-24, 17:08:43 »
Does TXT records on master works now when using PowerDNS ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #10 on: 2013-09-24, 19:12:04 »
This is still not working on my local test system:

192.168.1.8 - master with ns1.nowosci.org
192.168.1.9 - slave with ns2.nowosci.org

Code: [Select]
dig @192.168.1.9 private._domainkey.nowosci.org TXT

; <<>> DiG 9.9.3-rpz2+rl.13208.13-P2-RedHat-9.9.3-4.P2.el6 <<>> @192.168.1.9 private._domainkey.nowosci.org TXT
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 30976
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 2800
;; QUESTION SECTION:
;private._domainkey.nowosci.org.        IN      TXT

;; AUTHORITY SECTION:
nowosci.org.            1800    IN      SOA     ns1.nowosci.org. admin.adminonline.gr. 2013092404 3600 1800 604800 1800

;; Query time: 2 msec
;; SERVER: 192.168.1.9#53(192.168.1.9)
;; WHEN: wto wrz 24 15:09:48 CEST 2013
;; MSG SIZE  rcvd: 119
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #11 on: 2013-09-24, 19:15:41 »
Bind works fine both on master and on slave.
Djbdns works fine both on master and on slave.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #12 on: 2013-09-24, 19:20:52 »
MaraDNS TXT records does not work on master, slave does not work at all.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #13 on: 2013-09-24, 19:22:16 »
nsd works fine both on master and on slave.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: [6.5.1.a] New DNS Server (PDns, MaraDNS and NSD)
« Reply #14 on: 2013-09-24, 19:27:50 »
PowerDNS TXT records does not work on both
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.052 seconds with 19 queries.

web stats analysis