Linode Forum Index Linode Forum
Linode Community Forums
 


Time for Sub-Domain to go Live?

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
markn



Joined: 23 Dec 2010
Posts: 8
Location: Australia

Posted: Mon Feb 07, 2011 7:39 pm    Post subject: Time for Sub-Domain to go Live?  

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?
Back to top  
vonskippy



Joined: 27 Dec 2009
Posts: 469
Location: Colorado, USA

Posted: Mon Feb 07, 2011 8:12 pm    Post subject:  

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.
Back to top  
markn



Joined: 23 Dec 2010
Posts: 8
Location: Australia

Posted: Mon Feb 07, 2011 8:22 pm    Post subject:  

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
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 565

Posted: Mon Feb 07, 2011 8:25 pm    Post subject:  

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!)
Back to top  
markn



Joined: 23 Dec 2010
Posts: 8
Location: Australia

Posted: Mon Feb 07, 2011 8:29 pm    Post subject:  

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?
Back to top  
akerl



Joined: 05 Jul 2010
Posts: 123

Posted: Mon Feb 07, 2011 8:31 pm    Post subject:  

Check your cache.
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 565

Posted: Mon Feb 07, 2011 8:32 pm    Post subject:  

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
Back to top  
markn



Joined: 23 Dec 2010
Posts: 8
Location: Australia

Posted: Mon Feb 07, 2011 8:34 pm    Post subject:  

Great, that's it then. Thanks very much for help :)
Back to top  
vonskippy



Joined: 27 Dec 2009
Posts: 469
Location: Colorado, USA

Posted: Mon Feb 07, 2011 9:24 pm    Post subject:  

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.
Back to top  
markn



Joined: 23 Dec 2010
Posts: 8
Location: Australia

Posted: Mon Feb 07, 2011 10:00 pm    Post subject:  

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.
Back to top  
mnordhoff



Joined: 03 May 2008
Posts: 451

Posted: Tue Feb 08, 2011 8:08 am    Post subject:  

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.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1