hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Nameserver with only 1 IP
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Nameserver with only 1 IP

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2008, 12:32 AM
mealto mealto is offline
Web Hosting Evangelist
 
Join Date: Sep 2005
Posts: 452

Nameserver with only 1 IP


So we just got our VPS. The host has only given us 1 IP for running our own DNS. They provided a 2nd nameserver + IP to use at the registrar level but since this name server does not match or domain name, the registrar obviously cannot let us register this. Is there an issue if we set ns1 to our IP and ns2 like so even though the 2nd name server is not registered at the registrar level?

For instance:

ns1.ourdomain.com (our IP)
ns2.somedomainthehostprovided.com (which cannot be registered at the registrar level)

Reply With Quote


Sponsored Links
  #2  
Old 07-11-2008, 12:40 AM
HL-Justin HL-Justin is offline
Junior Guru Wannabe
 
Join Date: Jul 2006
Posts: 87
Why dont you just setup.

NS1.YOURDOMAIN.COM (Your IP)
NS2.YOURDOMAIN.COM (Your IP)


You lose redundancy, but you lose redundancy even if you have 2 unique IPs on one server I guess if pakistan steals your IP (COUGH YOUTUBE INCIDENT) you'd have a second to rely on But that probably wont happen here.

__________________
http://www.jdaigle.net/ - My portfolio
http://www.logicdeck.com/ - Awesome tutorials and webmaster resources!

Reply With Quote
  #3  
Old 07-11-2008, 12:44 AM
The Universes The Universes is offline
Web Hosting Master
 
Join Date: Jun 2008
Location: California
Posts: 1,468
From what I understand, what you need to do is setup ns1.yourdomain.com at your registrar and then point your domain to ns1.yourdomain.com and ns2.ispdomain.com nameservers.

Reply With Quote
Sponsored Links
  #4  
Old 07-11-2008, 12:47 AM
plumsauce plumsauce is offline
******* Unleaded
 
Join Date: Feb 2004
Posts: 3,788
Quote:
ns1.ourdomain.com (our IP)
ns2.somedomainthehostprovided.com (which cannot be registered at the registrar level)
That is absolutely fine.


Quote:
ns1.somedomainthehostprovided.com
ns2.somedomainthehostprovided.com
Would be even better. Let someone else take the load.


Quote:
Why dont you just setup.

NS1.YOURDOMAIN.COM (Your IP)
NS2.YOURDOMAIN.COM (Your IP)
Not fine. While some lame domain name reseller might let you sneak under the radar with this one, it is against every rule in the book.

__________________
edgedirector.com
managed dns global failover and load balance (gslb)
exactstate.com
uptime report for webhostingtalk.com

Reply With Quote
  #5  
Old 07-11-2008, 01:07 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,104
Quote:
Originally Posted by mealto View Post
Is there an issue if we set ns1 to our IP and ns2 like so even though the 2nd name server is not registered at the registrar level?

For instance:

ns1.ourdomain.com (our IP)
ns2.somedomainthehostprovided.com (which cannot be registered at the registrar level)
Are you sure the second one isn't registered? You can't register it but the host / owner of somedomainthehostprovided can, should and probably already has.

Provided that's the case it's a good setup.

The other thing you could probably do (slightly iffy but it should work unless / until the host changes their nameserver ips) is to register ns2.ourdomain.com with the IP address of ns2.somedomainthehostprovided.com. If you want to go this way don't forget to create a matching A record for ns2 in your zone file.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #6  
Old 07-11-2008, 04:12 AM
mealto mealto is offline
Web Hosting Evangelist
 
Join Date: Sep 2005
Posts: 452
Thanks for all the replies, that's great.

Quote:
Originally Posted by foobic View Post
Are you sure the second one isn't registered? You can't register it but the host / owner of somedomainthehostprovided can, should and probably already has.

Provided that's the case it's a good setup.
How can I check if the host registered the 2nd IP?

Reply With Quote
  #7  
Old 07-11-2008, 04:36 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,104
Assuming it really is a .com you can query the .com nameservers direct:
Code:
dig +short @A.GTLD-SERVERS.NET ns2.somedomainthehostprovided.com
If that returns the IP address it's registered.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #8  
Old 07-11-2008, 05:05 AM
mealto mealto is offline
Web Hosting Evangelist
 
Join Date: Sep 2005
Posts: 452
Quote:
Originally Posted by foobic View Post
Assuming it really is a .com you can query the .com nameservers direct:
Code:
dig +short @A.GTLD-SERVERS.NET ns2.somedomainthehostprovided.com
If that returns the IP address it's registered.
Where do we enter that command line? Is it on a website somewhere? Thanks for your patience.

Reply With Quote
  #9  
Old 07-11-2008, 05:32 AM
torrentc torrentc is offline
Newbie
 
Join Date: Jun 2008
Posts: 11
as far as i am aware if you use Cpanl it wont allow you to use the same ip for both nameservers, also i would always have at least 2 ips for this reason

Reply With Quote
  #10  
Old 07-11-2008, 09:33 AM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,104
Quote:
Originally Posted by mealto View Post
Where do we enter that command line? Is it on a website somewhere? Thanks for your patience.
From a *nix shell prompt. From Windows you can use nslookup or there are Windows binaries of dig available.

But for the easy option just try to delegate a domain to those nameservers - your registrar probably won't let you do it unless they're both registered. Then check the domain with intodns.com or similar.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #11  
Old 07-11-2008, 11:41 PM
mealto mealto is offline
Web Hosting Evangelist
 
Join Date: Sep 2005
Posts: 452
Quote:
Originally Posted by foobic View Post
From a *nix shell prompt. From Windows you can use nslookup or there are Windows binaries of dig available.

But for the easy option just try to delegate a domain to those nameservers - your registrar probably won't let you do it unless they're both registered. Then check the domain with intodns.com or similar.
Using intodns.com, it showed 2 errors for the ns and IP that our host gave us:

ERROR: One or more of your nameservers did not respond:

ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers.

Does that mean the host did not register it properly?

Reply With Quote
  #12  
Old 07-11-2008, 11:48 PM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,104
Nope. The errors mean exactly what they say. But they do need fixing.
Quote:
Originally Posted by mealto View Post
ERROR: One or more of your nameservers did not respond:
One of them isn't working. Check the details - is it your ns1 or the host's ns2?
Quote:
ERROR: One or more of the nameservers listed at the parent servers are not listed as NS records at your nameservers.
You need to change your NS records (edit the zone file, or Edit DNS Zone in WHM) so they match the nameservers you delegated to.

Edit: while you're editing the zone, check you have an A record for your ns1 pointing to the correct IP address.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
  #13  
Old 07-15-2008, 05:11 PM
mealto mealto is offline
Web Hosting Evangelist
 
Join Date: Sep 2005
Posts: 452
Quote:
Originally Posted by foobic View Post
One of them isn't working. Check the details - is it your ns1 or the host's ns2?
It's ns2, the one that the host provided.


Quote:
Originally Posted by foobic View Post
You need to change your NS records (edit the zone file, or Edit DNS Zone in WHM) so they match the nameservers you delegated to.

Edit: while you're editing the zone, check you have an A record for your ns1 pointing to the correct IP address.
I see. How does one edit the zone file inside Plesk. It doesn't seem to be as intuitive as cPanel. Any tips?

Reply With Quote
  #14  
Old 07-15-2008, 06:23 PM
foobic foobic is offline
Community Liaison 2.0
 
Join Date: Feb 2005
Location: Australia
Posts: 5,104
Quote:
Originally Posted by mealto View Post
It's ns2, the one that the host provided.
Not much you can do then except ask the host what's wrong.

Quote:
I see. How does one edit the zone file inside Plesk. It doesn't seem to be as intuitive as cPanel. Any tips?
I haven't used Plesk as yet but a quick Google suggests System tab -> your domain name -> DNS icon. Perhaps someone else can provide first-hand experience.

__________________
Chris

"Learn from the mistakes of others. You can never live long enough to make them all yourself." - Groucho Marx

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?