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. 2017-11-07, 23:32:16

Author Topic: Urgent ! All CNAME entries stopped working !  (Read 2907 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Urgent ! All CNAME entries stopped working !
« on: 2013-08-27, 00:11:45 »
After upgrading to latest version of Kloxo all CNAME entries stopped working - so www, ftp, lists, webmail etc. All others are working ok.

What's the problem ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #1 on: 2013-08-27, 00:22:08 »
Take a look !!!

Code: [Select]
dig @ns1.xxx.pl lists.xxx.pl

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

;; QUESTION SECTION:
;lists.xxx.pl.       IN      A

NO ANSWER HERE !

So IP is missing !

Other entries like A works ok (IP is reported):

Code: [Select]
 dig @ns1.xxx.pl mail.xxx.pl

; <<>> DiG 9.9.3-rpz2+rl.13208.13-P2-RedHat-9.9.3-4.P2.el6 <<>> @ns1.xxx.pl mail.xxx.pl
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2402
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;mail.xxx.pl.                IN      A

;; ANSWER SECTION:
mail.xxx.pl. 86000   IN      A       144.76.123.66
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Urgent ! All CNAME entries stopped working !
« Reply #2 on: 2013-08-27, 00:26:16 »
Inform here one of domain config from /home/djbdns/conf/master where you think CNAME not work.

have you test with intodns.com?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #3 on: 2013-08-27, 00:30:58 »
Quote from: "MRatWork"
Inform here one of domain config from /home/djbdns/conf/master where you think CNAME not work.

have you test with intodns.com?.

intodns.com does not report any troubles, but it does not test any subdomains.

Code: [Select]
 cat xxx.pl
### begin - dns of 'xxx.pl' - do not remove/modify this line

Zxxx.pl:ns1.xxx.pl:admin.server.pl:2013082665:::::86000
&xxx.pl::ns1.xxx.pl:86000
&xxx.pl::ns2.xxx.pl:86000
+cp.xxx.pl:144.76.231.1:86000
+xxx.pl:144.76.231.1:86000
+ns1.xxx.pl:144.76.231.1:86000
+ns2.xxx.pl:198.50.158.21:86000
+mail.xxx.pl:144.76.231.1:86000
Cwww.xxx.pl:xxx.pl::86000
Cftp.xxx.pl:xxx.pl::86000
Cwebmail.xxx.pl:mail.xxx.pl::86000
Clists.xxx.pl:mail.xxx.pl::86000
@xxx.pl::mail.xxx.pl:10:86000
+ns3.xxx.pl:198.50.238.5:86000
+backup.xxx.pl:198.50.158.21:86000
&xxx.pl::ns3.xxx.pl:86000
'xxx.pl:v=spf1 a mx ~all::86000
'_domainkey.xxx.pl:t=y; o=-; r=postmaster@xxx.pl::86000
'private._domainkey.xxx.pl:v=DKIM1; g=*; k=rsa; p=MEwwDQYJKoZIhvcNAQEBBQADOwAwOAIxAMM3MWMSckuKUu8FzA3hYeaPS0+MUWIbiUyaQy8DWuXCkY8uNp+tYyOXQL0LD5BwKQIDAQAB::86000

### end - dns of 'xxx.pl' - do not remove/modify this line

In this example:

Code: [Select]
cp works
domain itself works
ns1, ns2, ns3 works
mail works
www, ftp, webmail, lists doesn't work
backup works
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #4 on: 2013-08-27, 00:41:07 »
This happens on all of my domains so it's very urgent.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Urgent ! All CNAME entries stopped working !
« Reply #5 on: 2013-08-27, 01:02:18 »
Look like CNAME not work for djbdns. In Kloxo-MR, 'CNAME record' already convert to 'A record' (ref - http://sleepytrees.com/projects/tinydns/)
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #6 on: 2013-08-27, 01:07:07 »
Quote from: "MRatWork"
Look like CNAME not work for djbdns. In Kloxo-MR, 'CNAME record' already convert to 'A record'

It was working fine in Kloxo-MR final from March !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Urgent ! All CNAME entries stopped working !
« Reply #7 on: 2013-08-27, 01:09:53 »
Try change '/home/djbdns/tpl/domains.conf.tpl' to:
Code: [Select]
### begin - dns of '<?php echo $domainname?>' - do not remove/modify this line

<?php 
    
foreach($dns_records as $dns) {
        if (
$dns->ttype === "ns") {
            if (!
$nameserver) {
                
$nameserver $dns->param;
            }
        }

        if (
$dns->ttype === 'a') {
            
$arecord[$dns->hostname] = $dns->param;
        }
    }

    if (
$soanameserver) {
        
$nameserver $soanameserver;
    }
?>

Z<?php echo $domainname?>:<?php echo $nameserver?>:<?php echo $email?>:<?php echo $serial?>:::::<?php echo $ttl?>

<?php    
    
foreach($dns_records as $k => $o) {
        switch(
$o->ttype) {
            case 
"ns":
                
$value $o->param;
?>

&<?php echo $domainname?>::<?php echo $value?>:<?php echo $ttl?>

<?php

                
break;
            case 
"mx":
                
$value $o->param;
                
$priority $o->priority;
?>

@<?php echo $domainname?>::<?php echo $value?>:<?php echo $priority?>:<?php echo $ttl?>

<?php
                
break;
            case 
"a":
                
$key $o->hostname;
                
$value $o->param;

                if (
$key === '*') {
?>

+*.<?php echo $domainname?>:<?php echo $value?>:<?php echo $ttl?>

<?php
                    
break;
                }

                if (
$key !== "__base__") {
                    
$key "{$key}.{$domainname}";
                } else {
                    
$key $domainname;
                }
?>

+<?php echo $key?>:<?php echo $value?>:<?php echo $ttl?>

<?php
                
break;
            case 
"cn":
            case 
"cname":
                
$key $o->hostname;
                
$value $o->param;

                if (isset(
$arecord[$value])) {
                    
$rvalue $arecord[$value];

                    if (
$key === '*') {
?>

+*.<?php echo $domainname?>:<?php echo $rvalue?>:<?php echo $ttl?>

<?php
                        
break;
                    }

                    
$key .= ".$domainname";
?>

+<?php echo $key?>:<?php echo $rvalue?>:<?php echo $ttl?>

<?php
                    
break;
                }
/*
                if ($value !== "__base__") {
                    $value = "{$value}.{$domainname}";
                } else {
                    $value = $domainname;
                }

                if ($key === '*') {
?>

C*.<?php echo $domainname?>:<?php echo $value?>:<?php echo $ttl?>

<?php
                    
break;
                }

                
$key .= ".{$domainname}";
?>

C<?php echo $key?>:<?php echo $value?>:<?php echo $ttl?>
               
<?php
                
break;
*/
            case 
"fcname":
                
$key $o->hostname;
                
$value $o->param;

                if (
$value !== "__base__") {
                    
$value $value;
                } else {
                    
$value "$domainname";
                }

                
$key .= ".{$domainname}";
?>

C<?php echo $key?>:<?php echo $value?>:<?php echo $ttl?>

<?php
                
break;
            case 
"txt":
                
$key $o->hostname;
                
$value $o->param;

                if(
$o->param === null) continue;

                if (
$key !== "__base__") {
                    
$key "$key.$domainname";
                } else {
                    
$key "$domainname";
                }

                
$value str_replace("<%domain>"$domainname$value);
                
$value str_replace(":""\072"$value);
?>

'<?php echo $key?>:<?php echo $value?>::<?php echo $ttl?>

<?php
                
break;
        }
    }
?>


### end - dns of '<?php echo $domainname?>' - do not remove/modify this line


« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #8 on: 2013-08-27, 01:12:07 »
On both master and slave server ? I got two physical machines: first (master) for ns1, second (slave) for ns2 and ns3.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Urgent ! All CNAME entries stopped working !
« Reply #9 on: 2013-08-27, 01:13:39 »
Yes, if all servers using djbdns.

This issue not found in Bind.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #10 on: 2013-08-27, 01:23:51 »
Quote from: "MRatWork"
Yes, if all servers using djbdns.

This issue not found in Bind.

I'm rebuilding all domains using previous templates. When they finish I will try this new one on both servers.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: Urgent ! All CNAME entries stopped working !
« Reply #11 on: 2013-08-27, 03:14:25 »
It works :) I'm rebuilding everything again :)

Code: [Select]
;; QUESTION SECTION:
;ftp.xxx.az.pl.            IN      A

;; ANSWER SECTION:
ftp.xxx.az.pl.     86000   IN      A       144.76.123.xx
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.042 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM