image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X Server

Reply
 
LinkBack Thread Tools
  #1  
Old December 2nd, 2008, 11:52 AM
Registered User
 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
J-Man is on a distinguished road
DNS lookup is failing - Server 10.3.9

Hi all... first.. I'm SOO not a server tech. I'm using OS X server just to run Apache web server. I don't even use Mail services.

A few months ago certain web pages started failing to load.

(it used to work fine.. and nothing major had changed)

My best trouble shooting abilities seem to have tracked this down to the fact that DNS servers actual change their IP addresses sometimes and this happens every few years.

By changing some of my links from "kublacon.info" to the direct ip address, the failed pages started working again.

I'm totally open to hearing what else might be causing this, but as I understand it, there's a 'file' somewhere that the server uses to resolve DNS lookups... and that file probably needs to be updated.

Can anyone point me to the 'correct/new file" and how/where it is on the server that I can update it? Or... suggest other reasons this might be happening?

Thank you!
Reply With Quote
  #2  
Old December 2nd, 2008, 01:05 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 13,004
Thanks: 8
Thanked 444 Times in 425 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
Who is responsible for your domain name (kublacon.info)? GoDaddy? Register.com?

Whomever is responsible for your domain name is most likely the culprit here. When someone types in "kublacon.info" into their web browser, the name is resolved to your IP address by whomever the registrar of the kublacon.info name is.

If it makes any difference, "kublacon.info" resolves fine on my machine, and I see the default Mac OS X web page.
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 12Mb/1.5Mb
http://www.jeffhoppe.com
Reply With Quote
  #3  
Old December 2nd, 2008, 02:27 PM
Registered User
 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
J-Man is on a distinguished road
Thank you - and...

Thanks.. yes... links to KublaCon.info resolve fine from other browsers. But the links that get generated 'from' my server using kublacon.info don't resolve correctly.

This could possibly be a 'lasso' issue... but again.. as best I can tell.. the server itself tries to find the page for kublacon.info and fails. Using the IP in those links makes them work.
Reply With Quote
  #4  
Old December 2nd, 2008, 02:37 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 13,004
Thanks: 8
Thanked 444 Times in 425 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
Are you referencing the internal IP address (192.168.x.x, 10.x.x.x), or the external IP address?

Why do you have absolute links instead of relative links in the lasso code? Instead of referencing "http://kubacon.info/scripts/somescript.lasso", why not code it to reference "./scripts/somescript.lasso"? Or is this what you're doing?
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 12Mb/1.5Mb
http://www.jeffhoppe.com
Reply With Quote
  #5  
Old December 2nd, 2008, 04:43 PM
Registered User
 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
J-Man is on a distinguished road
Yes.. basically that 'is' what I'm doing with the lasso code.

Before, the links would appear as kublacon.info/kcsearch/lassopage.lasso

Now... many of those links appear as "216.xxx.xxx.xxx/kcsearch/lassopage.lasso"

After writing the above.. I tried something:

I changed the Lasso setting for the host "IP address/Host name" from the static IP to "KublaCon.info". Consequently, the links failed. Setting lasso back to the IP address made those links work again.

Likewise.. I have several links for simple searches that include a hard coded "kublacon.info"... and others that call on the "Server_name" which is now the static IP address. The hard coded search links fail.. and these are pages that are coming from OS X server... the static IP links work.

Sheesh.. on another note... links to other web names coming from the server are working. Ok.. now I'm confused. Is it possible that I've somehow put "kublacon.info' on a banned list.. or.. something else?

and... it could still be a Lasso issue I spose... I'll make sure I've got all the updates. Thanks for your help on this rather elusive issue.
Reply With Quote
  #6  
Old December 2nd, 2008, 06:27 PM
ElDiabloConCaca's Avatar
Registered User
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 13,004
Thanks: 8
Thanked 444 Times in 425 Posts
ElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of lightElDiabloConCaca is a glorious beacon of light
Yikes... I don't know if you want to mod your code at this point, nor do I know if lasso requires absolute paths, but using relative paths is a much better practice.

As it stands now, if you change domain names from kublacon.info to kublacons.info, you would have to edit your entire site to get it working again. With relative paths, you wouldn't have to edit a damn thing, and the site would be up and running the minute you changed names.

Try changing a few absolute paths to relative paths and see if that helps. If it does, I would recommend going that route in the future.

In a similar fashion, sometimes you can't use absolute paths -- for example, the connections to the mySQL server must be relative (or, more precisely, local) paths -- my work website cannot connect to the mySQL server using the external IP address, nor the domain name -- I have to use the local IP (127.0.0.1, or the local IP for the computer on which the mySQL server is located) or substitute "localhost" for that. Perhaps lasso is similar?
__________________
Mac mini 2.0GHz 10.6.2 • 4GB • 320GB • Superdrive • 4 x 1TB USB 2.0 • LED Cinema Display
MacBook 2.0GHz Core 2 Duo - White 10.6.2 • 4GB • 250GB • CD-RW/DVD-ROM
iPhone 3G 8GB • iPod Touch 8GB • iPod Photo 60GB • iPod nano 1GB • AT&T U-Verse 12Mb/1.5Mb
http://www.jeffhoppe.com
Reply With Quote
  #7  
Old December 2nd, 2008, 08:16 PM
Registered User
 
Join Date: Jun 2005
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
J-Man is on a distinguished road
Hi there.. sorry for the confusion.. but I actually AM using relative paths.

Except.. in a few instances where I want a hard link to use the absolute path.

And .. the relative path is passed to a variable in Lasso called "Server_Name".. which it gets from the Lasso Server setup.

At this point I suspect that Lasso is not resolving correctly. I'll be putting a call into their support tomorrow. After some experimenting based on some of your suggestions, it seems that it's specifically Lasso that isn't resolving links with the domain name correctly.
Reply With Quote
Reply

Bookmarks

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

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

Forum Jump


All times are GMT -5. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright 2000-2010 DigitalCrowd, Inc.