Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 07, 2011 8:39 pm 
Offline
Senior Newbie

Joined: Thu Dec 23, 2010 6:09 pm
Posts: 11
Location: Australia
I've got two Nodes, one is working fine as the main webserver (call it www.foo.com) and the domain record for that is all good. The second server, call it BILL has an IP of 1.2.3.4 and I want to use this to serve up static files and assign that the sub-domain bill.foo.com. Apache is running fine on BILL and I can access it with a browser via the IP.

So I've setup an A record in the Linode DNS manager like this:

Hostname: bill.foo.com
IP Address: 1.2.3.4
TTL: 300s

I set the TTL short so I could get testing ASAP. However, a good while later bill.foo.com isn't working and a

host bill.foo.com is giving a 'not found: 3 (NXDOMAIN)' error.

Any hints on what I might be doing wrong? Or am I just being impatient?


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:12 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
So, you're going to have two websites with PUBLIC domains which resolve to PUBLIC IP's yet you expect people who may be able to help you go thru sometype of weird Captain Crunch Decoder Ring exercise to decrypt what little info you actually provided.

Good luck with that.


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:22 pm 
Offline
Senior Newbie

Joined: Thu Dec 23, 2010 6:09 pm
Posts: 11
Location: Australia
vonskippy wrote:
So, you're going to have two websites with PUBLIC domains which resolve to PUBLIC IP's yet you expect people who may be able to help you go thru sometype of weird Captain Crunch Decoder Ring exercise to decrypt what little info you actually provided.

Good luck with that.


Nice. Friendly guy.

main domain is: www.timeclockmts-online.com (173.230.147.22)
second IP is: 97.107.133.228 which I am trying to get to resolve to leonard.timeclockmts-online.com


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:25 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Works for me
Code:
% getent hosts leonard.timeclockmts-online.com
97.107.133.228  leonard.timeclockmts-online.com


(See how easy it was for me to check, once you'd provided real information - vonskippy is correct; if you don't give us enough information then we can't help!)

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:29 pm 
Offline
Senior Newbie

Joined: Thu Dec 23, 2010 6:09 pm
Posts: 11
Location: Australia
sweh wrote:
Works for me
Code:
% getent hosts leonard.timeclockmts-online.com
97.107.133.228  leonard.timeclockmts-online.com


(See how easy it was for me to check, once you'd provided real information - vonskippy is correct; if you don't give us enough information then we can't help!)


Oh I agree, but "if you don't give us enough information then we can't help" is a much nicer way of putting things that the tripe above.

Thanks for your help by the way :) Is there a reason why my other sub-domains (set up several weeks ago) would be returning correctly via the host command and this new one isn't? Is this just a time issue?


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:31 pm 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Check your cache.


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:32 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
It's possible the DNS server you're using has cached the NXDOMAIN and so isn't looking it up.

If you ask a different DNS server you may see it works
eg
Code:
% host leonard.timeclockmts-online.com 8.8.8.8
Using domain server:
Name: 8.8.8.8
Address: 8.8.8.8#53
Aliases:

leonard.timeclockmts-online.com has address 97.107.133.228

_________________
Rgds

Stephen

(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 9:34 pm 
Offline
Senior Newbie

Joined: Thu Dec 23, 2010 6:09 pm
Posts: 11
Location: Australia
Great, that's it then. Thanks very much for help :)


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 10:24 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
markn wrote:
is a much nicer way of putting things that the tripe above.

Ahhhh, you wanted technical help AND some warm milk and cookies.

It helps to be more specific.


Top
   
 Post subject:
PostPosted: Mon Feb 07, 2011 11:00 pm 
Offline
Senior Newbie

Joined: Thu Dec 23, 2010 6:09 pm
Posts: 11
Location: Australia
vonskippy wrote:
markn wrote:
is a much nicer way of putting things that the tripe above.

Ahhhh, you wanted technical help AND some warm milk and cookies.

It helps to be more specific.


Cookies would be nice, thanks for asking :) Thanks to all for help.


Top
   
 Post subject:
PostPosted: Tue Feb 08, 2011 9:08 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
Your negative caching TTL (the last value in the SOA record) is set to 86400, so your resolver could cache the result up to a day. (Or longer, if it's a jerk and ignores TTLs, but we'll ignore that issue.) Just FYI, the recommended value for that setting is usually just a couple hours.

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group