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-08, 02:56:47

Author Topic: DNS error  (Read 3025 times)

0 Members and 1 Guest are viewing this topic.

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
DNS error
« on: 2014-10-26, 21:37:45 »
Hi all,

Here's  quick recap,

1. I have my VPS (centos 5.11) installed with kloxo 6.1.19, and my vps has 2 domains
2. I removed kloxo then install kloxo mr 6.5
3. I tried to remove 1 of my domains and add it back since i cannot access my all domains after I finish installing kloxo mr 6.5
4. got mysql problem, and I solved it by set root password (saw an article in this forum)
5. I can add my domain, but it still have the DNS problem (checked from the intodns)
6. I frustated then I upgrade my kloxo mr from 6.5 to 7. But still have the same problem, I tried to change "program" to apache, nginx, nginx proxy still the same result


here is my sysinfo
A. Kloxo-MR: 7.0.0.b-2014102603

B. OS: CentOS release 5.11 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.40-1.ius.el5
   2. PHP: php54-5.4.32-2.ius.el5
   3. Httpd: httpd-2.2.29-1.mr.el5
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.8.0-f.2.mr.el5
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.0-3.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        325       1722          0          0        165
   -/+ buffers/cache:        160       1887
   Swap:         1024          0       1024

intodns error as the attachment file.

I saw an article said go to a folder like "bind" "master" but it is an empty folder in my vps, idk how to setting it up. My webs is run well on kloxo before, and I think the problem is on "binding"

I have changed the bind method from "bind" "nsd" "yadifa" but nothing happen.

What should I do?

I also did
1. sh /script/fixweb
2. sh /script/cleanup
3. sh /script/restart-all

but still no luck, any help would be appreciate

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #1 on: 2014-10-26, 21:50:50 »
Possible bind still exists in ram and reboot usually fix this issue. Or, try 'killall -9 named; yum remove bind*'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #2 on: 2014-10-26, 22:16:56 »
Possible bind still exists in ram and reboot usually fix this issue. Or, try 'killall -9 named; yum remove bind*'.

thanks!! after I did killall -9 named; yum remove bind* + change program back to apache + edit /etc/hosts it works,

thank you verymuch.

I have another vps + domain with https on kloxo, is it the same way to upgrade it like http domain?

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #3 on: 2014-10-26, 22:32:22 »
if I reboot, my /etc/hosts will back to doom, how can I change the default of /etc/hosts manually, so everytimes I reboot it will remain the same file?

thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #4 on: 2014-10-26, 22:35:58 »
if I reboot, my /etc/hosts will back to doom, how can I change the default of /etc/hosts manually, so everytimes I reboot it will remain the same file?

thanks
Go to your VPS panel and set 'hostname'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #5 on: 2014-10-26, 22:46:34 »
I have set my host name, but I have two domains, how can I set each domain?

it shown in /etc/sysconfig/network here

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #6 on: 2014-10-26, 22:53:11 »
Only one hostname.

For example, server for this forum using 'oln1.hostspectra.com' as hostname (because hostspectra.com is 'main' domain).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #7 on: 2014-10-26, 23:06:52 »
do you mean nameserver? like ns1 ns2? i have set it properly,but why /etc/hosts still doesn't auto update my config (when i rebooted)

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #8 on: 2014-10-26, 23:25:39 »
No, I mean hostname. Nameservers is different things.

For simple, hostname is must match with FQDN. Example, oln1.hostspectra.com is qualified according FQDN but oln1 is not qualified.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #9 on: 2014-10-26, 23:46:49 »
I've searched all place on my vps panel, but i cannot find it :Cry

can you be more specific where can I find that setting?

thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #10 on: 2014-10-26, 23:51:31 »
Ask to your provider for how to change hostname.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #11 on: 2014-10-27, 00:01:07 »
ok thanks, now I found it, i think It can be found on :7778, but I'm wrong, it only can be edited in vps control panel (on whmcs provider site) but he gave me two IPs, and hostname can only edit once in a vps. Is there any way to change it manually via ssh?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: DNS error
« Reply #12 on: 2014-10-27, 00:03:39 »
ok thanks, now I found it, i think It can be found on :7778, but I'm wrong, it only can be edited in vps control panel (on whmcs provider site) but he gave me two IPs, and hostname can only edit once in a vps. Is there any way to change it manually via ssh?
No. Usually if you reboot, vps panel will be re-write hostname. Hostname assign to main IP.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Andi

  • Junior Member
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: DNS error
« Reply #13 on: 2014-10-27, 00:34:40 »
ok thanks for your reply :D


 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.042 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM