Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

My domain name and dedicated hosting are with different providers. I wanted to create a own nameserver for my domain name. I created 2 host object from domain registrar control panel.
1. (IP of dedicated server)
2. (IP of dedicated server)

The same domain name in which I have created host object need to be hosted in my hosting. So I have assigned, for the domain's name servers.

I hope this is correct... If not please correct me.

Then in my dedicated server (with PLESK control panel), I have enable the DNS service and created 2 A and other entries as follow records.

    * CNAME / 24    PTR   CNAME  A    A (PUBLIC IP OF THE SERVER)   A (PUBLIC IP OF THE SERVER)           NS           A (PUBLIC IP OF THE SERVER)           MX (10)           TXT v=spf1 +a +mx -all   A   NS   NS

I followed these guide :

Is the above setting correct? Would I be able to use these name servers?

share|improve this question

migrated from Sep 26 '11 at 11:05

This question came from our site for computer enthusiasts and power users.

2 Answers 2

Non-routable IP for mail.* and webmail.* seems as mistake

  1. Can you see zone content from ns?
  2. Primary and secondary zones for the same domain on one daemon (BIND?) may be big headache, AFAIK
  3. dig is your best friend on debug. Common form of it's call is

    dig @server name type


  • @server is IP of your
  • name is
  • type is AXFR|SOA etc

Better (fast) answer I can give you only with small piece of real data: IP of primary NS and domain-name, otherwise we'll continue "remote administration"

PS - I know nothing about plesk, but both PTR and A in one zone for me (as for hostmaster) is big bug

share|improve this answer

Almost perfect !

But you should have this:       NS       NS

The rest is OK (Be sure that the SOA line exist on the configuration files)

 #OnLinuxMachine> dig soa

If you need to work, you should add this   A (PUBLIC IP OF THE SERVER)

Also, if you don't need to manage the subdomain

  • To have MX records for it like
  • To have hosts like

You can remove theses:   NS   NS
share|improve this answer
My domain are registered in . I registrerd 2 host object and for my server's public IPs. I can not see they are propogated still. What tools I can use to check them? – Muneer Sep 27 '11 at 5:30
As @Lazy-Badger said below, use dig with your nameserver to know if they are correctly set and also, to know their TTL and with the SOA the expiration in seconds. You will then know when it will work with other Name Servers. eg.: dig @REPLACE_WITH_ns.mydomain.com_PUBLICIP) – jflaflamme Sep 27 '11 at 17:57
Also I have opened the port for DNS Query in my firewall. Still I can not see the name server is resolving to the IP I have given. Btw, I do not understand this SOA things, Is it must to do? – Muneer Sep 28 '11 at 12:20
I think the control panel you are using is taking care of SOA for you, but you can verify with the dig command : dig @REPLACE_WITH_ns.mydomain.com_PUBLICIP soa – jflaflamme Sep 28 '11 at 12:24
Ok Done,It is working now fine. – Muneer Sep 28 '11 at 12:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.