![]() ![]() |
Mar 20 2005, 01:02 AM
Post
#1
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Super Moderators Posts: 2,765 Joined: 22-August 01 Member No.: 148 |
I had a look at the "Setting Nameservers for Plesk" by LadyHawk, but it just confused me, so I had to find out for myself how to do this in Plesk Reloaded 7.1.2 (edit: this is still valid for 7.5.4):
1) Request 2 IP's from RS for Nameservers 2) Go to your registrar and register the nameservers. Example: ns1.mynameserver.com (first IP) ns2.mynameserver.com (second IP) (Look for something like "create hosts" or "create nameservers". It's often hidden and with warnings not to touch it unlike you know what you're doing. Well now you do) 3) Create a domain to hold the nameservers, i.e. www.mynameserver.com. If you're a webhosting company this is usually the "Shop URL". 4) Login to that domain, (Domains -> click the link to it under "domain name") then click Services -> DNS. ADD A: Records ns1.mynameserver.com (first IP) ns2.mynameserver.com (second IP) ADD NS: Records: mynameserver.com ns1.mynameserver.com mynameserver.com ns2.mynameserver.com DELETE the A and NS records for ns.mynameserver.com, they're not used. 5) Go to SERVER -> DNS CREATE NS records for your nameservers []. []. DELETE the A and NS records for ns. THAT'S IT. It's that simple, it's all there is to it. Nice huh -------------------- Rene @ Webscorpion.com
Web Hosting | Resellers | Servers | Server management -> Webscorpion Outsource your web design requirements to IT Mechanics |
|
|
|
Mar 20 2005, 09:28 AM
Post
#2
|
|
|
Newbie Group: Members Posts: 2 Joined: 20-March 05 Member No.: 16,220 |
Hello madsere!
Thanks, i've done as you have written, but now i have this Error (was also before) Server > ERROR Up LevelUp Level Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start -------------------------------------------------------------------------------- 0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start") Do you have an idea to correct this? greetings Chris |
|
|
|
Mar 20 2005, 11:52 AM
Post
#3
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Super Moderators Posts: 2,765 Joined: 22-August 01 Member No.: 148 |
Doesn't say much, just that named (nameserver demon) failed to start for some unknown reason. Have a look in /var/log/messages for possible reasons.
-------------------- Rene @ Webscorpion.com
Web Hosting | Resellers | Servers | Server management -> Webscorpion Outsource your web design requirements to IT Mechanics |
|
|
|
Mar 20 2005, 12:35 PM
Post
#4
|
|
|
Newbie Group: Members Posts: 2 Joined: 20-March 05 Member No.: 16,220 |
Hello madsere!
The /var/log/messages llok like this: Mar 21 01:51:50 named[28588]: starting BIND 9.2.3 -u named -t /var/named/chroot Mar 21 01:51:50 named[28588]: using 1 CPU Mar 21 01:51:50 named[28588]: loading configuration from '/etc/named.conf' Mar 21 01:51:50 named[28588]: listening on IPv4 interface lo, 127.0.0.1#53 Mar 21 01:51:50 named[28588]: listening on IPv4 interface eth0, 216.69.162.73#53 Mar 21 01:51:50 named[28588]: listening on IPv4 interface eth0:1, 216.69.162.152#53 Mar 21 01:51:50 named[28588]: listening on IPv4 interface eth0:2, 216.69.162.153#53 Mar 21 01:51:50 named[28588]: couldn't add command channel 127.0.0.1#953: not found Mar 21 01:51:50 named[28588]: couldn't add command channel ::1#953: not found Mar 21 01:51:50 named[28588]: zone 162.69.216.in-addr.arpa/IN: loading master file 162.69.216.in-addr.arpa: file not found Mar 21 01:51:50 named[28588]: zone shazmandur.com/IN: loading master file shazmandur.com: file not found Mar 21 01:51:50 named[28588]: running Mar 20 18:51:51 named: named startup succeeded greetings Christian |
|
|
|
Mar 20 2005, 08:19 PM
Post
#5
|
|
![]() SuperGeek ![]() ![]() ![]() ![]() Group: Super Moderators Posts: 2,765 Joined: 22-August 01 Member No.: 148 |
Well it seems that named IS indeed starting on your server. Perhaps it's the "not found" lines throwing off Plesk. Have a look at the files under /var/named, probably some corruption somewhere in that area.
-------------------- Rene @ Webscorpion.com
Web Hosting | Resellers | Servers | Server management -> Webscorpion Outsource your web design requirements to IT Mechanics |
|
|
|
Apr 10 2005, 02:42 AM
Post
#6
|
|
![]() Enlightened ![]() Group: Members Posts: 53 Joined: 8-September 04 Member No.: 14,409 |
Hi madsere,
I have Plesk 7.5.2... I assume most things are the same however my difference is that my Name server domain will not be hosted on this server. I have created dns3 and dns4.domain.net for use with this server. My actual domain points to ns1. and ns2.domain.net. What will I do different? Here is what I have in my DNS server config: CODE <domain>. A <ip>
<domain>. MX (10) mail.<domain>. <domain>. NS dns3.domain.net <domain>. NS dns4.domain.net. <ip> / 24 PTR <domain>. dns3.<domain>. A 207.44.***.*** dns4.<domain>. A 207.44.***.*** ftp.<domain>. CNAME <domain>. mail.<domain>. A <ip> webmail.<domain>. A <ip> Thank you in advance! QUOTE (madsere) I had a look at the "Setting Nameservers for Plesk" by LadyHawk, but it just confused me, so I had to find out for myself how to do this in Plesk Reloaded 7.1.2:
1) Request 2 IP's from RS for Nameservers 2) Go to your registrar and register the nameservers. Example: ns1.mynameserver.com (first IP) ns2.mynameserver.com (second IP) (Look for something like "create hosts" or "create nameservers". It's often hidden and with warnings not to touch it unlike you know what you're doing. Well now you do) 3) Create a domain to hold the nameservers, i.e. www.mynameserver.com. If you're a webhosting company this is usually the "Shop URL". 4) Login to that domain, (Domains -> click the link to it under "domain name") then click Services -> DNS. ADD A: Records ns1.mynameserver.com (first IP) ns2.mynameserver.com (second IP) ADD NS: Records: mynameserver.com ns1.mynameserver.com mynameserver.com ns2.mynameserver.com DELETE the A and NS records for ns.mynameserver.com, they're not used. 5) Go to SERVER -> DNS CREATE NS records for your nameservers []. []. DELETE the A and NS records for ns. THAT'S IT. It's that simple, it's all there is to it. Nice huh -------------------- -Mark .:. aGigForImages.com .:. FunnySignatures.com .:. GmailSignatures.com
|
|
|
|
May 9 2005, 03:33 AM
Post
#7
|
|
|
Newbie Group: Members Posts: 15 Joined: 30-April 05 Member No.: 16,733 |
Hello,
QUOTE Hello madsere!
Thanks, i've done as you have written, but now i have this Error (was also before) Server > ERROR Up LevelUp Level Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start -------------------------------------------------------------------------------- 0: /usr/local/psa/admin/htdocs/server/restart_services.php:19 psaerror(string "Unable to make action: Unable to manage service by dnsmng: dnsmng: Service named failed to start") Do you have an idea to correct this? greetings Chris Follow below steps to solve the error: Type: #pico /etc/named.conf Press CTRL+W, Type Named you should found a line that "Named" is there, Goto that line and Press CTRL+K, Press CTRL+X and type Y, Press Enter, Now type: #service named restart Hope your problem solve, Good Luck, Hodjat |
|
|
|
Jun 14 2005, 04:36 PM
Post
#8
|
|
|
Newbie Group: Members Posts: 7 Joined: 14-June 05 Member No.: 17,245 |
If I have multpile ns names, do I need to enter an instance of the domain for each ns?
Ie: youdomain.com : ns1.mydomain.com youdomain.com : ns2.mydomain.com youdomain.com : ns3.mydomain.com So that they can "failover" to the next name server. Please advise. Thanks. |
|
|
|
Jun 22 2005, 09:28 AM
Post
#9
|
|
|
Newbie Group: Members Posts: 4 Joined: 27-December 04 Member No.: 15,342 |
ok but what to do when I want a domain hosted on another server to use DNSes configured on plesk on my primary server?
Where do I enter all the DNS records for that domain? |
|
|
|
Jun 23 2005, 08:40 AM
Post
#10
|
|
|
Computer Chip ![]() ![]() ![]() Group: Members Posts: 682 Joined: 24-November 01 Member No.: 680 |
dave.merwin: Yes. You'll need an NS entry for each if you want everything to always resolve correctly.
eMWu: If I understand your question correctly, you'll want to set it up at both locations. Although one of those can certainly be 100% automated when a new domain is created. ie you have the nameserver info in the domain registration pointing to ns(x).primaryserver.com, but the site actually exists on secondaryserver.com. With the domain registration you point the nameserver fields over to ns1.primaryserver.com and ns2.primaryserver.com. On that server you'll want to tweak the "A" records in the DNS of each domain so that they all point to the IP of secondaryserver.com. Then on secondaryserver.com you can set up a template to automatically have the DNS pointing at that same server like normal. It will work like this... Someone tries to go to Xdomain.com and the global DNS servers are queried and find that it can be found at ns1.primaryserver.com. The primaryserver.com gets queried and an A record is returned leading to the IP number of secondaryserver.com, so the user is sent to that IP number. When they reach that IP, secondaryserver.com resolves everything so that the user connects to the site, email, etc. |
|
|
|
Jul 21 2005, 12:18 PM
Post
#11
|
|
|
Newbie Group: Members Posts: 7 Joined: 14-June 05 Member No.: 17,245 |
Please add this as a final step:
QUOTE The problem with this is that you do not have A records for ns1, ns2, or ns3 in our nameservers, which is where the yourdomain.com domain is pointing to for dns queries. I have added the appropriate A records to our nameservers for you. Please allow upto 8 hours for these new records to become fully active. Once this is complete you should be able to resolve your domains without issue.
I had ev1 check my settings several times and even they missed it. The problem was that some ISP's were not resolving the domain (comcast) and with this additional step they now are. |
|
|
|
Sep 22 2005, 01:37 AM
Post
#12
|
|
|
Newbie Group: Members Posts: 1 Joined: 19-September 05 Member No.: 18,262 |
I'm new at ev1 and I'm confused about DNS. In the mail that ev1 send after registration there are 2 ips as DNS servers and ns1.ev1servers.net as nameservers.
Will I use these ip DNS address for the nameservers. Or request new ips ? |
|
|
|
Sep 22 2005, 08:00 AM
Post
#13
|
|
|
Computer Chip ![]() ![]() ![]() Group: Members Posts: 682 Joined: 24-November 01 Member No.: 680 |
Usually you're going to use at least one of those IP numbers for your DNS. However if you're hosting any sites that need their own individual IP number (eg for e-commerce transactions with an SSL cert) you'll need to request some additional IP numbers too.
|
|
|
|
Dec 1 2005, 07:08 AM
Post
#14
|
|
|
Fellow ![]() ![]() Group: Members Posts: 168 Joined: 27-August 03 Member No.: 9,812 |
i'm confused: i have activated a VPS yesterday with domain (for example) domain1.com (registred from idotz.net, so i have asked it to change name server to ns1.ev1servers.net and ns2.ev1servers.net). now this domain1.com is working correctly.
but i need to configure my OWN 2 nameserver with other domain (for example domain2.it): this domain2.it is registered with ARUBA and is resolving on another server. to make domanin2.it working on my VPS, which nameserver i have request to change to ARUBA ? i have to pointing domain2.it to ns1.ev1servers.net and ns2.ev1servers.net or i have to create first my own ns with domain1.com (ns1.domain1.com and ns2.domain.com), then pointing domain2.it to ns1.domain1.com and ns2.domain.com and then create ns1.domain2.it and ns2.domain.it ? thank you |
|
|
|
Dec 2 2005, 07:53 AM
Post
#15
|
|
|
Computer Chip ![]() ![]() ![]() Group: Members Posts: 682 Joined: 24-November 01 Member No.: 680 |
I'm confused by the question pedrodj. Are you trying to set up domain1.com so that it will function as your nameserver?
If so, you first need to set this up at your registrar. You can name them something like ns1.domain1.com and ns2.domain1.com. Typically the Registrar will also require that you tie an IP number to each of these. Then in the EV1 members area set up a reverse record for these two IP numbers, pointing them to the correct NS address. Then you can set these as your namesevers in the WhoIs record for your main domain, instead of using the EV1 nameservers. You can also use them with any other domain on your server. And set up your DNS templates in the control panel so your two ns addresses are automatically used when a new domain is added to the server. |
|
|
|
Dec 2 2005, 08:25 AM
Post
#16
|
|
|
Fellow ![]() ![]() Group: Members Posts: 168 Joined: 27-August 03 Member No.: 9,812 |
thank you squire for your help.
nevermind, now i', trying to setup my default domain associated with VPS registration. i have registered domain on idotz.net, pointed it on ns1.ev1servers.net and ns2.ev1servers.net and the domain works correctly but i'm unable to make my domain works for my own nameserver. this is my zone configuration for default domain (01.jpg) then i have created a pshysical hosting for my default domain, and added in it's zone ns1 and ns2 with 2 ip addressed (02.jpg) 03.jpg is a screenshot of my ip addressed on my VPS. but ns1 and ns2 doesn't work (i have tryed to ping it and it's unable to resolve). some ideas ?
Attached File(s)
|
|
|
|
Jan 30 2006, 10:35 AM
Post
#17
|
|
|
Celery ![]() Group: Members Posts: 34 Joined: 18-January 06 Member No.: 19,441 |
-------------------- When Harry Potter goes to his Dark Arts classes, do his lessons include DNS I wonder?
|
|
|
|
Feb 1 2006, 02:23 AM
Post
#18
|
|
|
Celery ![]() Group: Members Posts: 34 Joined: 18-January 06 Member No.: 19,441 |
Got it working! Thanks to the original poster for setting me on the right path. To answer my own questions:
7a) In PLESK in mydomain.com add A records for nsX.mydomain.com using the IPs given to me by ev1. In PLESK in mydomain2 add NS records mydomain2.com. NS nsX.mydomain.com 7b) In servercommand add A records for nsX.mydomain.com using the IPS given to me by ev1. 7c) (The difficult piece) Contact my registrar and ask them to add the custom name servers nsX.mydomain.com using the IPs given me by ev1. This was the difficult piece because my registrar (Easyspace) has nothing in their systems to do this automatically, I had to raise a trouble ticket. [My previous hosts had somehow set up custom name servers for nsX.mydomain.com, (bypassing my registrar) so I had to ask for these to be removed.] -------------------- When Harry Potter goes to his Dark Arts classes, do his lessons include DNS I wonder?
|
|
|
|
Jun 13 2006, 09:21 AM
Post
#19
|
|
|
Newbie Group: Members Posts: 1 Joined: 9-June 06 Member No.: 21,960 |
Any word on Plesk 8 setup?
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 09:10 PM |