DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 7th, 2011, 10:40 AM
Web_Ronin Web_Ronin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Posts: 1 Web_Ronin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 15 m 44 sec
Reputation Power: 0
Odd behavior

I'm a webadmin so some of this DNS stuff is a bit deep for me. I'm currently preparing a new cluster to go live and am running into some behavior I don't quite understand.

I have two servers behind a load balancer. The load balancer has a virtual IP and the servers have their own IP's. Sites/apps on the servers are accessed via port numbers.

DNS is still pointing at the old cluster. The new cluster is being tested by IP address directly and by resolving by my local hosts file.

When I bypass the load balancer and go to either node, I am fine. When I go to the IP address of the loadbalancer, I am asked to authenticate.

The wierd part is, when I added the name/IP combination to the local hosts file of my machine, some of the sites were accessible and others still prompted me for authentication. However, when I changed the spelling of the names to something other than what it registered in DNS (DMIntraTest vs. DMIntra) all the sites were reachable.

Can someone tell me why this is happening? It seems odd that the hosts file can resolve to a new name but halts on the actual name. Can it be conflicting with DNS somehow? And why would it not be reachable by IP?

Been wrestling with this for a little while now and have seemingly exhausted all my options.

Any input would be appreciated.

Reply With Quote
  #2  
Old October 7th, 2011, 04:16 PM
E-Oreo's Avatar
E-Oreo E-Oreo is offline
Lost in code
Click here for more information.
 
Join Date: Dec 2004
Posts: 7,931 E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)E-Oreo User rank is General 91st Grade (Above 100000 Reputation Level)  Folding Points: 945 Folding Title: Novice Folder
Time spent in forums: 2 Months 7 h 43 m 47 sec
Reputation Power: 7053
Entries in your host files take precedence over DNS entries. If you have a domain mapped in your hosts file it will override any real DNS entries for that domain.

Your problem does not sound at all like a DNS problem. It sounds like it's either a problem with the load balancer, the web server or the application code.

What do you mean by a "virtual" IP?

Quote:
It seems odd that the hosts file can resolve to a new name but halts on the actual name.

It doesn't seem like that is the case to me. You've indicated that your new load balancer is experiencing an issue with prompting for a password. If you're getting a password prompt when you have the domain pointed to your load balancer via the hosts file then it certainly sounds like the domain is being pointed at the new load balancer, exactly as it's supposed to be.

Since bypassing the load balancer works fine, my guess is that the problem is with the configuration of the load balancer.
__________________
PHP FAQ
How to program a basic, secure login system using PHP

Quote:
Originally Posted by Spad
Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Odd behavior

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap