Web Host Chat
Bringing Hosts & Customers together since 2001
Home QLinks Members Your Profile Register FAQ's Hosts Only Area SMS Alerts Advertising
User Information
»REGISTER NOW!

Go Back   Web Host Chat > Web Hosting Chat > Dedicated Servers, VPS and Colocation
Reply
 
LinkBack Thread Tools
Old 2nd July 2008   #1 (permalink)
New User (6)
Brand New!
Join Date: Jul 2008
Posts: 6
sametch is on a distinguished road
Nameserver setup confusion

I am a little confused regarding nameserver ordering.

When registering a domain name I understand two nameservers are required.

I have been registering the namerserver of my dedicated server as the first and the nameserver of the domain registration (which only parks the domain) as the second.

How do the nameserver allocations work? Is the first nameserver tried first and only if it doesn't respond does it go onto the second. Or are they both tried simultaneously and the first to respond wins.

The reason I ask is I recently leased a dedicated server and have set up two websites. One I can browse to the other I can't all I get is the domain registration parking page. I set the DNS settings in plesk the same for both. I later realised for the one that works I had misspelled the second nameserver for the domain to something that doesn't exist, yet this one shows the web page, the one I spelled correctly doesn't.

I am fairly new to administering a dedicated server (I am a programmer mainly) and the people I am hosting from give one line answers that are not easy to understand, so any help appreciated.
__________________
Registered User
sametch is offline   Reply With Quote
Old 2nd July 2008   #2 (permalink)
I am Staff at
M8 INTERNET
About My Company!

Certified Host
Join Date: Apr 2008
Location: Cumbernauld, Scotland, UK
Posts: 66
M8INTERNET is on a distinguished road
As far as I am aware all the nameserver settings must be on the same Domain Name , example :
ns.nameserver.com
ns2.nameserver.com
ns3.nameserver.com

Obviously the more you have then if one of the servers is not available then the next should be used

In the event the nameservers on that Domain Name fail, then you need to reset the nameservers to a different Domain Name, example :
ns.domain-registrant.cm
ns2.domain-registrant.com

However, it can take up to 72 hours for new nameserver settings to propogate across the internet
__________________
m8internet.com
__________________
Web Host - Certified Member
M8INTERNET is offline   Reply With Quote
Old 2nd July 2008   #3 (permalink)
I am Staff at
Serverstream Ltd
About My Company!


Certified Host
JamieBeeston's Avatar
Join Date: Aug 2005
Posts: 3,394
JamieBeeston is on a distinguished road
They are typically just taken at random from my experience, no nameservers have actual precedence.

If you have 2 nameservers listed, you should make sure they both work, however is a listed nameserver has NO record for the domain in question, the lookup WILL move on to another nameserver.

J
__________________
Register1.net
.eu £7.95
.com .net .org .uk £5.48
Premium Virtual Hosting from £33 a year
Quad Core 2.5Ghz 1GB 250GB Xeon Servers from £49
Company reg: 04186664 VAT reg: GB 815 5899 88
[Any views expressed on this forum are my own, and may not represent the views of any organisation that I own or am connected with.]
__________________
Web Host - VIP Member
JamieBeeston is online now   Reply With Quote
Old 2nd July 2008   #4 (permalink)
Join Date: Aug 2007
Location: Lincoln, UK
Posts: 492
freethought is on a distinguished road
From my experience, it completely depends on the software doing the DNS lookup. Some software picks one at random and sticks with it, some does it round robin and some just always uses the first server in the list (unless it isn't working).
If a record is returned, that that gets used but if the server returns NXDOMAIN, SERVFAIL or just plain doesn't do anything (timeout) then the next one is used.
__________________
Freethought Group Limited
Hosting and communications
Freethought Group Limited registered in London No. 5862996. Registered office: The Old Church Hall, 2A Cromwell Street, Lincoln, LN2 5LP.
Xion Internet and Freethought Internet are trading names of Freethought Group Limited.
__________________
Web Host - Certified Member
freethought is online now   Reply With Quote
Old 2nd July 2008   #5 (permalink)
Join Date: Aug 2007
Location: Lincoln, UK
Posts: 492
freethought is on a distinguished road
Quote:
Originally Posted by M8INTERNET View Post
As far as I am aware all the nameserver settings must be on the same Domain Name , example :
ns.nameserver.com
ns2.nameserver.com
ns3.nameserver.com

Obviously the more you have then if one of the servers is not available then the next should be used

In the event the nameservers on that Domain Name fail, then you need to reset the nameservers to a different Domain Name, example :
ns.domain-registrant.cm
ns2.domain-registrant.com

However, it can take up to 72 hours for new nameserver settings to propogate across the internet
AFAIK there's no requirement for all nameservers to be on the same domain. I've used nameservers on separate domains and it's never caused me a problem.
__________________
Freethought Group Limited
Hosting and communications
Freethought Group Limited registered in London No. 5862996. Registered office: The Old Church Hall, 2A Cromwell Street, Lincoln, LN2 5LP.
Xion Internet and Freethought Internet are trading names of Freethought Group Limited.
__________________
Web Host - Certified Member
freethought is online now   Reply With Quote
Old 2nd July 2008   #6 (permalink)
New User (6)
Brand New!
Join Date: Jul 2008
Posts: 6
sametch is on a distinguished road
Quote:
Originally Posted by freethought View Post
From my experience, it completely depends on the software doing the DNS lookup. Some software picks one at random and sticks with it, some does it round robin and some just always uses the first server in the list (unless it isn't working).
If a record is returned, that that gets used but if the server returns NXDOMAIN, SERVFAIL or just plain doesn't do anything (timeout) then the next one is used.
My conclusion from this is if I can't afford two servers to host my websites I am better off specifying one of the nameservers that doesn't exist, than a second one that does exist but doesn't host the site.

Is my conclusion bad?
__________________
Registered User
sametch is offline   Reply With Quote
Old 2nd July 2008   #7 (permalink)
I am Staff at
Loho
About My Company!

Certified Host
Join Date: Jun 2004
Age: 22
Posts: 132
Rebuke is on a distinguished road
They don't have to be on the same domain at all, they *should* all be serving the same zone file, otherwise you will see strange behaviour as some clients will get one value, some clients will get another.

You *should* have at least two nameservers, on different networks, this ensures your domain is always resolvable. This is important as even if your mail server is down, as long as your domain still resolves most mail servers will queue mail for you for a while. If it can't do a DNS lookup, it will just bounce the mail assuming it's a non-existant domain...

For your situation, I think what you want is to either find a service where you pay for secondary DNS, or find someone to swap secondary with, i.e. you act as a secondary for them, they act as a secondary for you. Or do what (unfortunately) the majority of small hosts do, and put two IP addresses on your server and use those, i.e. make your one server pretend to be multiple. This is bad for the reasons above, however, by the sound of it at the moment your domains are at risk of certain users being unable to access them, as if they hit the domain registration nameserver, they'll get a parking page rather than the actual page, so it would at least be better than that!
__________________
Alex Brett
alex.brett@loho.co.uk
Loho Internet Services
www.loho.co.uk
__________________
Web Host - Certified Member
Rebuke is offline   Reply With Quote
Old 4th July 2008   #8 (permalink)
othellotech's Avatar
Join Date: Mar 2002
Location: London, United Kingdom
Age: 38
Posts: 4,254
othellotech is on a distinguished road
Quote:
Originally Posted by M8INTERNET View Post
As far as I am aware all the nameserver settings must be on the same Domain Name
Not at all

Quote:
Originally Posted by M8INTERNET View Post
Obviously the more you have then if one of the servers is not available then the next should be used
You have no control over which ones will get used or how often

Quote:
Originally Posted by M8INTERNET View Post
However, it can take up to 72 hours for new nameserver settings to propogate across the internet
Propogation has been 30 minutes for some years now.

Caching of the old DNS results and/or nameserver details is ISP, software ad machine dependant and is often as long as a week

It's probably not a good idea to give someone "advice" about a subject you clearly know nothing about ...
__________________
Rob Golding, Othello Technology Systems Ltd AS29527 Company#03894981 VAT#GB-782561410. T:0871 277 6875 F:0871 277 6875
domains email forwarding resellers ecommerce colocation rackspace ip transit secondary mx/dns datacentre ih online/offsite backup
* OthelloHosts.net CPanel/WHM, H-Sphere, Plesk, Ensim, DirectAdmin High-Availability Professional Email / Web Hosting
* OthelloVPS.net Managed Xen4 Enterprise Virtual Private Servers and Dedicated Servers
# Currently buying 123-reg, ukreg, heart-internet and enom domain resellers - www.hostacquisitions.co.uk
__________________
Web Host - VIP Member
othellotech is online now   Reply With Quote
Old 4th July 2008   #9 (permalink)
I am Staff at
C.C.S. Leeds Ltd
About My Company!

Certified Host
Join Date: Sep 2005
Location: Leeds
Posts: 395
PeteK is on a distinguished road
Quote:
Originally Posted by othellotech View Post
Propogation has been 30 minutes for some years now.
Lol, that is of course unless you are one of the poor un-washed who is forced to use DNS servers provided by the Pip/Tisc/Nil/F2s and brothers crowd who update about as often as the firmware in your personal CD player ;-) I suppose at least they are honouring 7 days thse days rather than err, well yeah, when we reboot one...
__________________
CCS Leeds Ltd

Company reg: 03507910 VAT reg: GB 698 2027 05
------------------------------------------------
For all your Broadband / DSL, MLPPP Bonded, Leased Lines
and Web Hosting needs why not pop over to CCS Leeds Ltd

------------------------------------------------
__________________
Web Host - Certified Member
PeteK is offline   Reply With Quote
Old 4th July 2008   #10 (permalink)
I am Staff at
M8 INTERNET
About My Company!

Certified Host
Join Date: Apr 2008
Location: Cumbernauld, Scotland, UK
Posts: 66
M8INTERNET is on a distinguished road
I've checked again with 123-REG and enom, and they both advise that nameserver settings should be in place within 30 minutes, but the propogation can take up to 48 hours
Hence, why I still only quote up to 72 hours

I updated some in the US last week and it was at least into the second day before they were finally in use in the UK, even though the records had been updated
Personally, I blame the BT cache
__________________
m8internet.com
__________________
Web Host - Certified Member
M8INTERNET is offline   Reply With Quote
Old 4th July 2008   #11 (permalink)
Join Date: Aug 2007
Location: Lincoln, UK
Posts: 492
freethought is on a distinguished road
The 30 mins is how long it takes for your registrar to submit the update to the registry and for them to update their nameservers. Some registrars are better than others. 123-reg for example tend to be quite good but 1and1 are spectacularly pants.
Once that's done you've got to wait for caches to time out and this depends on what your TTL is set to and whether any of the ISP's cache servers are paying the blindest bit of attention to it.
24-48 hours is a good bet with 72 if you want to be on the safe side. 1-2 weeks if NTL are involved.
__________________
Freethought Group Limited
Hosting and communications
Freethought Group Limited registered in London No. 5862996. Registered office: The Old Church Hall, 2A Cromwell Street, Lincoln, LN2 5LP.
Xion Internet and Freethought Internet are trading names of Freethought Group Limited.
__________________
Web Host - Certified Member
freethought is online now   Reply With Quote
Old 25th August 2008   #12 (permalink)
New User (5)
Brand New!
Join Date: Apr 2007
Posts: 4
simplicity is on a distinguished road
Quote:
Originally Posted by JamieBeeston View Post
If you have 2 nameservers listed, you should make sure they both work, however is a listed nameserver has NO record for the domain in question, the lookup WILL move on to another nameserver.
Unfortunately that wasn't my experience recently when I inadvertently deleted some zone files from one of my 4 nameservers (NS). Despite having correct zone files on the other 3 NS, requests to the server with the deleted records got "non-existant domain" responses, with no attempt to check one of the other 3 as I would have expected.

So in summary: if one of your NS is down, then requests will failover to the other. But if one of your NS has a missing/incorrect zone record, it won't (or at least it won't necessarily).

Also I agree with those who've commented that you don't need to have all your NS on the same domain. In fact it strikes me as better not to: if there's a problem resolving that domain name for any reason, then having your zones on a server with a different domain will save you.
__________________
Registered User
simplicity is offline   Reply With Quote
Old 28th August 2008   #13 (permalink)
I am Staff at
C.C.S. Leeds Ltd
About My Company!

Certified Host
Join Date: Sep 2005
Location: Leeds
Posts: 395
PeteK is on a distinguished road
Quote:
Originally Posted by simplicity View Post
Unfortunately that wasn't my experience recently when I inadvertently deleted some zone files from one of my 4 nameservers (NS). Despite having correct zone files on the other 3 NS, requests to the server with the deleted records got "non-existant domain" responses, with no attempt to check one of the other 3 as I would have expected.

So in summary: if one of your NS is down, then requests will failover to the other. But if one of your NS has a missing/incorrect zone record, it won't (or at least it won't necessarily).

Also I agree with those who've commented that you don't need to have all your NS on the same domain. In fact it strikes me as better not to: if there's a problem resolving that domain name for any reason, then having your zones on a server with a different domain will save you.
But that is not the fault of the name servers is it? If you had suspended the zones on the incorrect ones then the requests would have failed and the lookup gone elsewhere. In your case the NS's responded but with carp... Garbage in, garbage out...
__________________
CCS Leeds Ltd

Company reg: 03507910 VAT reg: GB 698 2027 05
------------------------------------------------
For all your Broadband / DSL, MLPPP Bonded, Leased Lines
and Web Hosting needs why not pop over to CCS Leeds Ltd

------------------------------------------------
__________________
Web Host - Certified Member
PeteK is offline   Reply With Quote
Old 29th August 2008   #14 (permalink)
New User (5)
Brand New!
Join Date: Apr 2007
Posts: 4
simplicity is on a distinguished road
Quote:
Originally Posted by PeteK View Post
But that is not the fault of the name servers is it? If you had suspended the zones on the incorrect ones then the requests would have failed and the lookup gone elsewhere. In your case the NS's responded but with carp... Garbage in, garbage out...
The fault was mine, definitely. But I was just pointing out that if you make such a mistake, you shouldn't expect your other NS to cover you.
__________________
Registered User
simplicity is offline   Reply With Quote
Old 29th August 2008   #15 (permalink)
I am Staff at
Serverstream Ltd
About My Company!


Certified Host
JamieBeeston's Avatar
Join Date: Aug 2005
Posts: 3,394
JamieBeeston is on a distinguished road
Thats not what they're designed to do.

I'm assuming you deleted the zone, but not the bind entry for that domain, as such it replied that it should be able to answer, but it couldn't.. which means the lookup was successful in that it found an authoritative nameserver.

You can protect against failed NS and Failed networks, it's much harder to protect against humans!
__________________
Register1.net
.eu £7.95
.com .net .org .uk £5.48
Premium Virtual Hosting from £33 a year
Quad Core 2.5Ghz 1GB 250GB Xeon Servers from £49
Company reg: 04186664 VAT reg: GB 815 5899 88
[Any views expressed on this forum are my own, and may not represent the views of any organisation that I own or am connected with.]
__________________
Web Host - VIP Member
JamieBeeston is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[UK]Dual Core Servers From £69 + Free Setup - AMD X2/Core 2 DUO - Instant Setup VooServers Web Hosting and Related Offers 0 4th July 2007 03:48 PM
DNS Setup Flashster Hosting Software and additional add-on products 4 22nd June 2006 09:15 AM
Private Nameserver setup in Plesk samtam Shared and Reseller Web Hosting 25 25th April 2005 07:23 PM
Nameserver registration Adam Shared and Reseller Web Hosting 2 5th April 2004 09:25 AM


Some great companies!


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0