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-04-27, 17:57:47

Author Topic: How to set name server?  (Read 11951 times)

0 Members and 1 Guest are viewing this topic.

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
How to set name server?
« on: 2015-04-23, 16:38:20 »
How to set name server and DNS configuration?

I have read this (http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/) but this is for two server.

I have one server, and here will be domain name, sub domain name, mail, ftp and database. The details setting given below -

Hostname in server provider - server2hosting.tk
IP address from server provider - got only 1 IP
RDNS - set to their server default (195-154-97-aaa.rev.poneytelecom.eu.)
DNS Template name in Kloxo-MR - server2hosting.tk.dnst

In DNS template added same IP address to Web IPaddress & Mail IPaddress.

Primary DNS server written - ns1.server2hosting.tk
Secondary DNS Server writen - ns2.server2hosting.tk

Below is the DNS Records Under server2hosting.tk.dnst -

base - A   -   195.154.97.aaa
cp - A   -   195.154.97.aaa
ftp - A   -   195.154.97.aaa
mail - A   -   195.154.97.aaa
ns1 - A   -   195.154.97.aaa
ns2 - A   -   195.154.97.aaa
lists - CN   -   mail
webmail - CN   -   mail
www - CN   -   __base__
imap    - FCNAME   -   mail.server2hosting.tk.dnst
pop   -  FCNAME   -   mail.server2hosting.tk.dnst
smtp - FCNAME   -   mail.server2hosting.tk.dnst
__base__    - MX   10   mail.server2hosting.tk.dnst
__base__    - NS   -   ns1.server2hosting.tk
__base__    - NS   -   ns2.server2hosting.tk


And then I created an account and in that account created domain name - http://bedbreakfast.tk.

In http://bedbreakfast.tk domain name provider panel, I have added name server - NS1.SERVER2HOSTING.TK, NS2.SERVER2HOSTING.TK.

But http://bedbreakfast.tk is not working and showing error - "DNS_PROBE_FINISHED_NXDOMAIN".

Can anyone please help me to solve this problem? I am beginner and eager to learn.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #1 on: 2015-04-23, 17:04:01 »
Let say your dns name is 'default'. So, every content with 'default.dnst' will be convert to your domain where using this template for create domain (if your domain is 'domain.tk' and then 'default.dnst' will be convert to 'domain.tk').

As http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/ description, every domain need adjustment their ns in domain panel (provide by domain provider).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: How to set name server?
« Reply #2 on: 2015-04-23, 17:45:58 »
here is my setup, and its working fine for me:

in my default dns.dnst

__base__    NS    -    ns1.sunderfall.com
__base__    NS    -    ns2.sunderfall.com
ns1    A    -    24.207.xxx.xxx
ns2    A    -    24.207.xxx.xxx


also need create those domains (ns1 & ns2) in kloxo and "blackhole" them to some directory.
(see my ns1.sunderfall.com in a browser,,,  NS1 only give your ip and cant do other thing)


also trying to ping your NS, it is not resolvable.
so either your DNS is wrong, or you havnt created the domains.


« Last Edit: 2015-04-23, 17:57:43 by sunderfall »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #3 on: 2015-04-23, 17:58:22 »
here is my setup, and its working fine for me:

in my default dns.dnst

__base__    NS    -    ns1.sunderfall.com
__base__    NS    -    ns2.sunderfall.com
ns1    A    -    24.207.xxx.xxx
ns2    A    -    24.207.xxx.xxx


also need create those domains in kloxo and "blackhole" them to some directory.
(see my ns1.sunderfall.com in a browser,,,  NS1 only give your ip and cant do other thing)


also trying to ping your NS, it is not resolvable.
so either your DNS is wrong, or you havnt created the domains.
It's because you are using cloudfare where cloudflate take over your original ns.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ItzJustinN

  • Valuable Member
  • *
  • Posts: 102
  • Karma: +1/-0
    • View Profile
Re: How to set name server?
« Reply #4 on: 2015-04-23, 18:30:37 »
only some of my domains using cloudflare.
other domains using my nameservers.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #5 on: 2015-04-23, 19:51:49 »
I mean your domain (sunderfall.com) using cloudflare where you want ns1.sunderfall.com and ns2.sunderfall.com as ns for other domains. If you do like it you may trouble for other domains.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: How to set name server?
« Reply #6 on: 2015-04-23, 20:30:00 »
Hi MRatWork,

What I understand  - I have created the dns name server2hosting.tk, so now every content should convert to my domain where I use this template for newly created domain name (so if domain name is bedbreakfast.tk, then server2hosting.tk.dnsk should convert to bedbreakfast.tk).

Yes, in domain panel in dot.tk (from where got domain name), I have adjusted the name server, by writing ns1.server2hosting.tk, ns2.server2hosting.tk.

But still it is not working?

I think there are by two ways it is possible to adjust name server in domain panel -
1) just write the ns1.server2hosting.tk OR
2) Have to change the DNS zone file

So, which way you recommend to write name server?

And you have written "default" - is it possible to give any other name than "default"? I have given server2hosting.tk. Is this wrong?

Here (in http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/) - in Step 2 - 2.1 - it is written that we have to use domain registrar IP address in A record - ns2 - A - 123.333.333.333. So, is this the mistake, this domain is not working?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #7 on: 2015-04-23, 20:34:28 »
If you want all using the same ns, set 'ns1.server2hosting.tk' instead 'ns1.server2hosting.tk.dnst' (in this context, 'server2hosting.tk' as dns template name).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: How to set name server?
« Reply #8 on: 2015-04-23, 20:54:40 »
I have use DNS Template Name - server2hosting.tk, but control panel add "dnst" automatically as suffix after server2hosting.tk. And it becomes server2hosting.tk.dnst.

Also I have change -
ns2 - A - 104.155.1.12 (this is my domain provider IP address)

Still not working.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #9 on: 2015-04-24, 06:44:28 »
Change ns1 and ns2 value in 'dns template' like you want.
..:: 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: How to set name server?
« Reply #10 on: 2015-04-24, 06:46:34 »
Change ns1 and ns2 value in 'dns template' like you want.
Use 'dns template' name without the same as domain name. Example, use 'default' instead 'domain.com' as 'dns template' name.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: How to set name server?
« Reply #11 on: 2015-04-25, 05:58:13 »
Ok. I have done same as the steps 1.1 and 2.1 in (http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/). I think I do not need steps after 2.1 because I have only one server.

Please see these print screen of DNS template - http://www.ultracorporatepixel.com/kloxo-dns-template.jpg
Print Screen of Domain Control Panel in godaddy - http://www.ultracorporatepixel.com/kloxo-godaddy.jpg

Then I have added ultraso.com domain name in same admin panel in Kloxo-MR. And not under any customer.

Please see print screen of ultraso.com dns - http://www.ultracorporatepixel.com/kloxo-ultraso-dns.jpg

But ultraso.com is not opening. Can you please help me to find whats wrong?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #12 on: 2015-04-25, 06:35:49 »
I don't know about Godaddy, but in my registrar just enough set 'child name server' (equal to 'A record') for ns1 and ns2 and 'name server' (equal to 'NS record') for ns1 and ns2. It's as the same as dns 'delegate' from registrar to my server. And then in my server (using Kloxo-MR) set dns setting like you do.

To make sure in your Kloxo-MR panel, go to 'admin > services' to know dns is running (green) or not (red). Or, from ssh, try 'sh /script/restart-dns -y' to know restart process running or not.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline sandipcd

  • Senior Member
  • *
  • Posts: 167
  • Karma: +0/-0
    • View Profile
Re: How to set name server?
« Reply #13 on: 2015-04-25, 07:16:27 »
I have gone to menu Server > Services.
Please see the print screen of services - http://www.ultracorporatepixel.com/kloxo-dns-services.jpg

Also I have run the command 'sh /script/restart-dns -y'.
Please see the print screen - http://www.ultracorporatepixel.com/kloxo-ssh-dns-restart.jpg
But ultraso.com website is not opening.

Also I have run this commmand 'less /etc/resolv.conf'. And seen -
Generated by NetworkManager
nameserver 62.210.16.6


I just want to upload website files in Kloxo-MR panel and when some one open the domain name ultraso.com (in godaddy), the person will see the website.

So, is there any alternative way to solve this problem?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to set name server?
« Reply #14 on: 2015-04-25, 07:20:45 »
There are look like iptables make blocked certain port. Try 'chkconfig --del iptables; service iptables stop'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.046 seconds with 18 queries.

web stats analysis