MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: dfreddie on 2013-09-06, 22:16:23

Title: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 22:16:23
A. Kloxo-MR: 6.5.0.f-2013090201

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: mariadb-5.5.32-2.el6.x86_64
   2. PHP: php54-5.4.19-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.25-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.3-4.P2.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

Adding a new domain is ok. You can see DNS configuration from panel. But in /var/named ... the domain is not add. How can add manually?
Title: Re: No records in DNS (bind)
Post by: zenkul on 2013-09-06, 22:30:06
before that,  are you tried ?

Quote
sh /script/fixdns
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 22:38:32
Yes I've tried. I've tried /script/fix-all, even restart server.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 22:41:53
I have tried to add another domain ... the result is the same. No response from "dig any domain.com @kloxo-mr.server".
Title: Re: No records in DNS (bind)
Post by: MRatWork on 2013-09-06, 23:42:36
No record not the same with no file inside '/home/bind/conf/master'. Try using intodns.com to know what's wrong with your dns config.

Inform here if necessary for report by intodns.com
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 23:46:05
Mismatched NS records    WARNING: One or more of your nameservers did not return any of your NS records.
Error    DNS servers responded    ERROR: One or more of your nameservers did not respond:
The ones that did not respond are: ipaddress kloxo-mr

Error            SOA record   No valid SOA record came back!
MX    Error    MX Records   Oh well, I did not detect any MX records so you probably don't have any and if you know you should have then they may be missing at your nameservers!
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 23:47:34
All others domains are ok.
Only the new ones are with problems.

Last update on kloxo-mr ... couple of hors ago.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-06, 23:49:05
; <<>> DiG 9.8.3-P1 <<>> any domain.com @kloxo-mr
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 37288
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;domain.com.      IN   ANY

;; Query time: 2 msec
;; SERVER: 83.103.197.176#53(83.103.197.176)
;; WHEN: Fri Sep  6 20:40:50 2013
;; MSG SIZE  rcvd: 34
Title: Re: No records in DNS (bind)
Post by: MRatWork on 2013-09-07, 00:06:23
Inform here your dns config of 'trouble' dns settings. Also check inside /home/bind/conf/master where 'trouble' domain exists or not. Also check inside /home/bind/conf/defaults/named.master.conf where zone for 'trouble' domain exists or not.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 00:09:32
Both are OK. Trouble domains are listed.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 02:32:02
For the moment I had found the problem:

in /var/named/chroot/etc ... there was no entry for "trouble domains" in kloxo.named.conf!!

Could this be a bug for the last version of kloxo-mr?
Title: Re: No records in DNS (bind)
Post by: MRatWork on 2013-09-07, 02:51:38
No, Kloxo-MR not use chroot. all configs inside /home/bind.

To make sure, remove bind-chroot with 'yum remove bind-chroot' and then run again 'sh /script/fixdns; sh /script/restart-dns'.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 03:06:38
Quote from: "MRatWork"
No, Kloxo-MR not use chroot. all configs inside /home/bind.

To make sure, remove bind-chroot with 'yum remove bind-chroot' and then run again 'sh /script/fixdns; sh /script/restart-dns'.

After that it seems that DNS still works.

Thanks!
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 03:10:31
Trying add new domain ... had same problem!!

status: REFUSED
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 03:20:01
No traces for new created domain in /home/bind/conf/defaults/master.named.conf ... neither in /home/bind/conf/master!!
I'll try to add manually.
Title: Re: No records in DNS (bind)
Post by: MRatWork on 2013-09-07, 03:26:48
Try, switch to djbdns and then switch back to bind. Better update Kloxo-MR.
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 03:27:11
After manually edit zone DNS is ok.
But why did not created itself?

Kloxo-mr is up to date!
Title: Re: No records in DNS (bind)
Post by: dfreddie on 2013-09-07, 03:36:29
Quote from: "MRatWork"
Try, switch to djbdns and then switch back to bind.

There was no fix. Same problem after switching on and back.