DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 August 3rd, 2004, 04:16 PM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
subdomain not updating, mapped to diff IP

I have a subdomain that I've mapped to a different IP through an A record on my server. Here is the record:

$TTL 86400

@ IN SOA ns.relientk.com. greg.gotee.com. (
1091569904 ; Serial
10800 ; Refresh
3600 ; Retry
604800 ; Expire
86400 ) ; Minimum

relientk.com. IN NS ns.relientk.com.
ns.relientk.com. IN A 64.207.133.130
relientk.com. IN A 64.207.133.130
webmail.relientk.com. IN A 64.207.133.130
mail.relientk.com. IN A 64.207.133.130
forums.relientk.com. IN A 69.57.138.93
ftp.relientk.com. IN CNAME relientk.com.
www.relientk.com. IN CNAME relientk.com.
relientk.com. IN MX 10 mail.relientk.com.

forums.relientk.com is the subdomain that I set up. First off I need to know if I've done this correctly. I thought it was, a linux host query shows that it is mapping to that IP but it still returns goes to 64.207.133.130 instead. The second problem is that the first time I created the record I accidentally entered the IP as 64.57.138.93 rather than 69.57.138.93 Whenever I query shell>host forums.relientk.com it still shows the incorrect IP. I've tried restarting my BIND and Apache several times and nothing seems to flush out the old record. Any idea whats going on?

Thanks,
Greg

Reply With Quote
  #2  
Old August 3rd, 2004, 10:54 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
It appears that you use a TTL of 1 day and since I'm guessing your resolv.conf lists a server other than your own, the resolver server has the previous IP cached. The old IP will expire sometime tomorrow.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
  #3  
Old August 4th, 2004, 07:32 AM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Would this be a caching issue from another server? I thought that since this was a subdomain that an outside name server would first resolve to my server which would then point the subdomain to the correct IP. The curious thing is that when I'm logged into my server through SSH and I run shell>host forums.relientk.com it shows me the incorrect IP I entered yesterday 64.57.138.93 but when I run the same command from my machine I get my original server's IP 64.207.133.130. I can't see that I have the 64.57.138.93 IP entered in any records at all.

Reply With Quote
  #4  
Old August 4th, 2004, 08:55 AM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
ok, I suppose we'll take a look, even if it's only to see how long you got to wait for the cache to expire. On the machine that you get the wrong IP address, I want to see the results these commands:

(if it's a windows machine)

ipconfig /all

(if it's a linux machine)

cat resolv.conf

Reply With Quote
  #5  
Old August 4th, 2004, 10:36 AM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I'm on a linux box running RH9. Here's what I came up with on cat resolv.conf:

nameserver 64.207.128.21
nameserver 64.207.129.21

Any ideas? Is there anyway to force a refresh of that server?

Thanks,
Greg

Reply With Quote
  #6  
Old August 4th, 2004, 11:10 AM
formasfunction formasfunction is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 20 formasfunction User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Resolving

looks like the correct IP is resolving out in Texas now. If only it'd make its way out to TN! Thanks for the help.

--Greg

Reply With Quote
  #7  
Old August 4th, 2004, 12:14 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,195 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 15 h 53 m 4 sec
Reputation Power: 77
to find out how long you gotta wait, make this query:

dig @64.207.128.21 forums.relientk.com

The TTL value will tell you how many seconds that information will remain in cache. If you have access to the server then yes, there's a way to make it flush out the old info. Otherwise, you gotta wait. Perhaps change the TTL on your zone so that you don't have to wait so long next time.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > subdomain not updating, mapped to diff IP


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT