Help - Search - Members - Calendar
Full Version: Setting Nameservers for Plesk
The Planet Forums > Control Panels > Plesk
Pages: 1, 2, 3
LadyHawk
1> Request 2 IP's from RS for Namservers

2> Go to your registrar and register the nameservers.
Example:
ns1.mynameserver.com xxx.xxx.xxx.xxx
ns2.mynameserver.com xxx.xxx.xxx.xxx

3> Add A records for your nameserver

mynameserver.com NS ns1.mynameserver.com
mynameserver.com NS ns2. mynameserver.com
ns1.mynameserver.com A xxx.xxx.xxx.xxx
ns2.mynameserver.com A xxx.xxx.xxx.xxx
mynameserver.com A xxx.xxx.xxx.xxx
webmail.mynameserver.com A xxx.xxx.xxx.xxx
ftp.mynameserver.com A xxx.xxx.xxx.xxx
mail. mynameserver.com A xxx.xxx.xxx.xxx
www. mynameserver.com CNAME mynameserver.com
mynameserver.com MX 10 mail.mynameserver.com
xxx.xxx.xxx.xxx/24 PTR mynameserver.com

4> DNS Templete

<domain> NS ns1.mynameserver.com
<domain> NS ns2.mynameserver.com
<domain> A <ip>
webmail.<domain> A <ip>
ftp.<domain> A <domain>
mail.<domain> A <domain>
<domain>. MX 10 mail. <domain>.
<ip>/24 PTR <domain>
**<<Note the www CNAME is automatically added by Plesk>>


It is best to set the templete up before you add sites to your server, because then your dns for all sites will automatically have the correct settings for your nameservers.

(updated 1/20/2007)
LadyHawk
To setup the DNS templete like my original post you login to your Plesk Control Panel as admin
Press SERVER, then DNS and then follow the templete.

To register nameserver it varies from registrar to registrar, but usually it as simple as pressing register nameservers and entering the name you have picked (example: ns1.yourdomain.com) and enter the IP number that it is to resolve to.
Griffith
So, I don't have to ADD ns1.nameserver.com and ns2.nameserver.com and make dns settings for those, I just have to do like this for EACH domain I add do my account:

mynameserver.com NS ns1.mynameserver.com
mynameserver.com NS ns2. mynameserver.com
ns1.mynameserver.com A 216.40.***.**1
ns2.mynameserver.com A 216.40.***.**2
mynameserver.com A 216.40.***.**3


???

On my servers, I have added the domains, ns1.mynameserver.com and ns2.mynameserver.com, but as far as I can see, I don't have to do this?

Please explain icon_smile.gif

You can see my settings for ns1 and ns2 in this post:
http://forum.rackshack.net/showthread.php?...9778#post129778
Cranky
Correct .... you do not have to create those domains. Just setup the DNS as above and all will work perfect - does for me anyway! icon_wink.gif
Cranky
It depends on where you registered your domain name. e.g. if you registered the domain via dotster.com you should have a control panel with them.
Gentle Giant
Thanks for posting this LadyHawk. Perhaps NightHawk could add a link to this as a sticky post in the Plesk DNS Forum.
heavypredator
im newbie

could someone tell me where do what ?

how to register dns ?
heavypredator
QUOTE
Originally posted by LadyHawk
To register nameserver it varies from registrar to registrar, but usually it as simple as pressing register nameservers and entering the name you have picked (example:  ns1.yourdomain.com) and enter the IP number that it is to resolve to.


can someone provide url to registrar - i cant find any

thx for answer
AndyC
Ok, this is where I get confused.

In step 3), A records are added for the nameserver. Where are these done?

In step 4) the DNS template for A records requires an IP address and you can't enter , even though the installation default A records do reference a and not specific ip.

Thanks
Cranky
In step 3), A records are added for the nameserver. Where are these done?

Say your nameservers are ns1.domain.com and ns2.domain.com you need to create an accoutn for domain.com in Plesk and goto the DNS section for this domain. You enter the A records here.

In step 4) the DNS template for A records requires an IP address and you can't enter , even though the installation default A records do reference a and not specific ip.

This is done on the "server" section of Plesk. You can find "DNS" inside this area of the control panel.
Gentle Giant
Andy,

In step 4) the DNS template for A records requires an IP address and you can't enter , even though the installation default A records do reference a and not specific ip.

You can leave the top box blank and enter the 'ns5.yourdomain.com' in the lower box - by leaving it blank it will automatically show it as

Hopefully that is what you meant - if not refer to Cranky's answer icon_smile.gif
Kaelon
Question about this - for my ns1.nameserver.com - I have nameserver.com being hosted by ns1 and ns2 rackshack nameservers. Can I set up the nameserver despite this?

Thanks!

Regards,
Kaelon
Cranky
Yes.
Kaelon
LadyHawk forgot to include a crucial missing step in her guide.

In order to bind the two new IP addresses to your server, you need to login to your Plesk as the admin, click on server, and then click on IP Aliasing.

Then, add the two IPs with subnet masks of 255.255.255.0. Otherwise, the two new IPs will not be properly bound to the server.

Kaelon
sallyanne
You say that the two IP's should be added with subnet masks of 255.255.255.0, however I see that my server had a default subnet of 255.255.254.0.

What subnet should I use for all the IP's allocated to my server? Can anyone assist.
Cranky
x.254.0 is fine. icon_smile.gif
sallyanne
Can you tell me what difference having the different subnet will make?

I presume that all IP's I have allocated, need to be bound to the server through the IP aliasing feature?
Cranky
Technically I'm unsure ... I use x.254.0 - x.255.0 might work, might not. To be honest though I can't see there being any advantage to one over the other even if they are different...
sallyanne
Thanks for your help!
Cranky
np
jsonline
I am very new. Is there anyone that can give this to me in more or less "Nameservers 4 Dummies" terms?

I am trying to setup nameservers of a domain I use, I want everyone on my server to use these name servers for their domains. But I am not sure on reading this post how to do it yet.
talloula
Thanks for the tutorial guys it's very helpful.

now that I have setup my TWO DNS servers, and my domains on my server all point to my own DNS instead of RS...I have another question:

How do you add a domain to your DNS server if that domain isn't physically hosted on your server?

is there a way to do that without actually "cheating" plesk into thinking the site is hosted physically on the plesk server, then removing all the dns records and creating new ones?

any ideas?
Tex
when you get your server from RS you have't to give them a domain name that is bound to the main server ip
Must you use that name as you nameservers or can you use any name that you want as long as you register it as a nameserver and then do you need to contact RS for anything other than the addtional ip's as long a you are managing your domains from your registrar
I see where you can manage you domains from the RS page does this serve any purpose
MFHosting
Two Questions:

1. What dns name servers do I use when I register the ns1.mydomain.com & ns2.mydomain.com. Can I use them on the newly registered domain name?

2. Can I use the ns1.mydomain.com & ns2.mydomain.com for my main site?

Thanks,

-Bo
MFHosting
Nevermind. . .I got it to work :-)

-Bo
cliftonarms
I followed this link but now, when a user creates a new domain they get the following message.

Mailman Server Extensions are not currently installed or not configured on the server. Contact the server administrator to have the Mailman Server Extensions installed or properly configured.

Fully thing is I am the administrator and I dont have a clue icon_biggrin.gif

Any pointers would be greatly appreciated
cliftonarms
A nice way of getting full confirmation of your DNS entries is to do a DNS report at this site http://www.dnsreport.com/
cliftonarms
A question for any DNS expert.

Can your name server NS1.mynameserver.com also be accessed as a domain eg www.mynameserver.com.

My reason for asking is I have the DNS setup and it works for www.domain1.com, www.domain2.com, etc, etc ok and I can access those sites fine but when I create a domain mynameserver.com the call to url www.mynameserver.com does not work.
Tex
ok I did a check as per your post and got this error
ERROR: One or more of your mail server(s) have no reverse DNS (PTR) entries (if you see "Timeout" below, it may mean that your DNS servers did not respond fast enough). RFC1912 2.1 says you should have a reverse DNS for all your mail servers. It is strongly urged that you have them, as many mailservers will not accept mail from mailservers with no reverse DNS entry. You can double-check using the 'Reverse DNS Lookup' tool at the DNSstuff site. The problem MX records are:
24.158.98.66.in-addr.arpa [No reverse DNS entry (rcode: 3 ancount: 0)]

the thing is that is not one of my ip's not even my subnet, i did a tracert and got a timeout and the ip doesnt respond to ping
is this a problem

Tex
Squire
Tex,

To get a Reverse DNS you'll need to submit a trouble ticket to EV1 and ask them to assign a PTR record for the main domain on your server.

As to the IP number not being in your subnet, remember that in-addr.apra's have the IP number flipped around. So the real IP number they're talking about in that message is 66.98.158.24, which does trace back to EV1 and doesn't have a PTR record associated with it.

Squire
Squire
Cliftonarms,

Yes it can. Make sure you have a CNAME record in the domain's DNS to point www.mynameserver.com to mynameserver.com

Squire
cliftonarms
Thank you Squire. Thats fixed now.
LittleBrother
finaly i got it to work...

the plesk is a bit confusing when entering NS records in the dns,

it asks for subdomain and domain, i filled in "ns1.mycoolserver" as subdomain and mycoolserver as host

this is wrong and it took me a while before i figured it out...

Thanks to all.
autoquartz
Dear all,

Got a few questions here:

1) Are Name Server IPs different from regular (Domain Name) IPs?

2) If we have two NS servers pointing to our own server, wouldn't that defeat the idea of having two name servers?

3) I was told by a friend that he can set up a subdomain instantly (which means he can access the subdomain right after he added it to the DNS), I wasn't able to do that with my domain name NS pointing to ns1 and ns2.ev1servers.net. Will hosting my own name servers solve this?

4) Let say I set up ns1.skcwebhost.com and ns2.skcwebhost.com as my name servers and have domain name skcwebhost.com NS pointing to this two name servers. How does skcwebhost.com get resolved.

:confused:
JLChafardet
I am a new customer, and i am wondering how to configure the dns tab on the Plesk 7 admin, i have tried what is sayd on the first post! but to be honest i really dont understand how to do it, i have gone through it and my DNS tab on the psa doesnt seems logic to me.

what exactly should i have to do?

i did asked for the ip addresses

xxx.xxx.xxx.xx1
xxx.xxx.xxx.xx2
xxx.xxx.xxx.xx3
xxx.xxx.xxx.xx4

In the ip aliasing i have added the ip addresses to the server.

The I did registered the nameservers on my registrar using the ips 3 and 4, and on the dns tab added the following:

. A
. MX (10) mail..
. NS ns..
/ 24 PTR .
ftp.. CNAME .
mydomainname.. NS ns1.mydomainname.com.
mydomainname.. NS ns2.mydomainname.com.
mail.. A
ns.. A
ns1.mydomainname.com.. A xxx.xxx.xxx.xx3
ns2.mydomainname.com.. A xxx.xxx.xxx.xx4
webmail.. A


I dont get how that will work! with that of

mydomainname.. NS ns1.mydomainname.com.
mydomainname.. NS ns2.mydomainname.com.

and

ns1.mydomainname.com.. A xxx.xxx.xxx.xx3
ns2.mydomainname.com.. A xxx.xxx.xxx.xx4

there is any person that can prepare a screenshot so i can see what i am doing bad or correct?

I promise that when i get that in the correct way i will prepare a steep by steep tutorial so no other person have to go through it as i am going now! really is being dificult to me to set that up.
Tex
how long ago did u register your domain and nameservers
takes a little while to resolve

double check your entries using the following guide
imho an excellent guide

http://www.jaredweb.com/tutorials/dns/index.html

if all is good wait for it to resolve
JLChafardet
All the IP Addresses are binded to the server and the nameserver created at the registrar, my plesk version is 7.

Keep in mind that xxx.xxx.xxx.xx1 is my main ip address and
xxx.xxx.xxx.xx2 - xxx.xxx.xxx.xx3 are the other ip addresses for nameservers.

DNS Sheet on PSA:

[b]Host [b]Record type [b] Value
xxx.xxx.xxx.xx1 / 24 PTR MYDOMAIN.com.
. A
. MX (10) mail..
. NS ns..
/ 24 PTR .
ftp.. CNAME .
ftp.MYDOMAIN.com.. A xxx.xxx.xxx.xx1
MYDOMAIN.com.. A xxx.xxx.xxx.xx1
MYDOMAIN.com.. MX (10) mail.MYDOMAIN.com.
MYDOMAIN.com.. NS ns1.MYDOMAIN.com.
MYDOMAIN.com.. NS ns2.MYDOMAIN.com.
mail.. A
mail.MYDOMAIN.com.. A xxx.xxx.xxx.xx1
ns.. A
ns1.MYDOMAIN.com.. A xxx.xxx.xxx.xx2
ns2.MYDOMAIN.com.. A xxx.xxx.xxx.xx3
webmail.. A
webmail.MYDOMAIN.com.. A xxx.xxx.xxx.xx1
www.MYDOMAIN.com.. CNAME MYDOMAIN.com.

Please let me know if there is everithing ok! and how can i get rid of the .. tags.(if that is possible of course)

ATT.
JLChafardet
hello to all, i managed to do it well and it seems to be working perfect now!

as far as what you will be managing on plesk7 on the dns link are templates please note that the tags and are automatically setted by plesk to = yourmaindomain.ext and = xxx.xxx.xxx.xxx main of your server. for this post i will use whatever.com as main domain and 10.10.10.1 as main ip address.

Go to your member area login, and request 2 ip addresses.
lets say that they assign you the next ips.

10.10.10.2 and 10.10.10.3

go to your domain name registrar and create the nameservers

ns1.whatever.com = 10.10.10.2
ns2.whatever.com = 10.10.10.3

Go to and Login in your PSA7 Admin area.

Click on the left panel on the link SERVER

go to the dns link.

then press the link default to reset the records to their default settings, when done, add a new NS reccord

you will see 2 text fields

Enter domain name [TEXTFIELD]..
Enter nameserver * [TEXTFIELD]

at this part! leave the first line (Enter domain name) blank (dont place nothing there)

and in the line of Enter nameserver type ns1.whatever.com

do the same to add ns2.whatever.com

***NOTE: remember that we will be using whatever.com as example domain name.


now add an A reccord.

Add a DNS record

Enter domain name * [TEXTFIELD]..

Enter IP address * [TEXTFIELD]

on the Enter domain name* field just type ns1
on the Enter IP Address* type 10.10.10.2

repeat this steep and add

on the Enter domain name* field just type ns2
on the Enter IP Address* type 10.10.10.3

now go to your main DNS page and it should look like this:

DNS records

DNS records (12)

Search
Search Show All Show All Remove Selected Remove Selected

Host Record type Value

. A
. MX (10) mail..
. NS ns..
. NS ns1.whatever.com.
. NS ns2.whatever.com.
/ 24 PTR .
ftp.. CNAME .
mail.. A
ns.. A
ns1.. A 10.10.10.2
ns2.. A 10.10.10.3
webmail.. A


till now it is working perfect on my server icon_biggrin.gif with this configuration, as soon as i can i will add images to this post so you can see it if you need to.

Best regards,

José Luis Chafardet G.
Number6
Hi,

JLChafardet: I followed your template as I was having trouble with mine (some people could see my test site OK, others couldn't even tracert to the box) and it seems to have fixed the problem icon_smile.gif

The jaredweb link was really useful but didn't have the following suggested lines in the DNS zone template:

ns. . A
ns1. . A xx.xxx.xx.xx1
ns2. . A xx.xxx.xx.xx2
. NS ns. .

As soon as I added these to the template and "restored the DNS zone by template" on the domain's DNS setup it started to work for those who previously had trouble.

I'd dearly love to know why this would make it work for some people, but other have no problem without it - can anyone explain?


One thing though, I removed

. NS ns..

because DNS report said

FAIL: You have one or more missing (stealth) nameservers.

with it included. Any reasons for this?

I'm happy to have it working at last, but would really like to understand why!
LiquidHost
Excellent How-To, I followed everything without an issue. However I have a question/problem which I would like some help with if anyone is willing.

I have a domain at namecheap, I have tried to change the nameserver entries for the domain in the namecheap control panel but I am constantly recieveing the error

"The problem is: Nameserver ns1.domain.com cannot be registered"

??

Any particular reason why this could be happening? I wouldn't want to have this happen to a client who may have registered their domain with namecheap!

Many thanks,
Ben
wstahlhut
you may need to look for a "register name server" type option like doster has...
LiquidHost
Well I registered nameservers with ev1, which is where the domain I'm using for the nameservers is registered. All I am trying to do with the domain at namecheap is change the nameserver entries, but it won't let me change them.

I've emailed namecheap support and all they can do is apologise for the problem, but not give me any kind of technical explanation of why it might be happening. Oh well.
JLChafardet
QUOTE
Originally posted by Number6
Hi,

JLChafardet: I followed your template as I was having trouble with mine (some people could see my test site OK, others couldn't even tracert to the box) and it seems to have fixed the problem icon_smile.gif
.....  

One thing though, I removed

. NS ns..  

because DNS report said

FAIL: You have one or more missing (stealth) nameservers.  

with it included. Any reasons for this?

I'm happy to have it working at last, but would really like to understand why!


ofcourse, that will create on the DNS template zone for every domain a ns.domain.tld record, wich will lead you to have that missing nameserver icon_smile.gif
uyar
I have a question :

First do I have to do some configuration from members panel , that dns configuration.
Example do I have to reverse pointers?

Everyone says ip aliasing but plesk 7 shows 2 aliasing option shared and exclusive. which one do I have to select?

And Im an cobalt user when I will open new site I will open it by its name not main ip example:
my main ip xxx.xxx.xxx.1
ns1 xxx.xxx.xxx.2 ns2 xxx.xxx.xxx.3
I have to select ip adress for open hosting this name server I will enter xxx.xxx.xxx.2 ip to open hosting. When I will add domain I can only select my main ip on plesk is another things to do ?
JLChafardet
no idea in cobalt.....

and i cant fully understand you :S

can you elaborate a bit?
english isnt my native language so still i have problems with it


best regards,
goog
I'm really having trouble with step 2, "Go to your registrar and register the nameservers".

I know how to use my registrar to "Set nameservers" for a domain, but I can't figure out where I can actually register a nameserver, and bind it to an IP address.

My registrar is Godaddy, and I've searched through all their help files and faq's, but I can't find out where to do this.

I really need help, so any advice is appreciated. Thanks.
Tex
login godaddy

on the page you see this

Domain Names
Manage Domains
Manage Domain Forwarding
Domain Monitoring/Backordering
Investor's Edge Expiring Names
Pending Domain Transfers
Pending Account Changes
Accept an Account Change

choose manage domains

click on the domain you wish to manage

on the right side you see Domain details
Nameservers Summary
open options by clicking the +
Click the Click here to see details or to modify.
there you pick like ns1.yournameserver.com

then after you are back to previous page look for
Domain Host Summary
open options by clicking on the +
then click on the
Click here to see details or to modify.
enter the information
goog
Thanks for your help Tex, that worked.

But now I can't seem to find the "IP Aliasing" button on "Server" on the plesk admin page.

Does anyone know where I can find that?

Thanks again for any help!
Tex
login to plesk

look left and click server underneath the system

then choose IPaliasing

if your ip or ip's are not there add them

if you are looking to add an ip to a client pool that is a different process

Tex
goog
I still don't see the "IP Aliasing" button.

I logged into plesk, and on the left under system, I clicked "server", and then there are a bunch of options, like "IP addresses", "system time", "statistics", "service management", etc, but there's no button that says "IP Aliasing"...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.