icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old January 5th, 2007, 2:04 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2005
4 posts
Gave thanks: 0
Thanked 0 times
Making own nameserver

I have just purchased a domain name from surpassdomains.com and was hoping to direct it a private webserver I have.

I know there is the A {ADDRESS} but I would like to see if this actually works.

Im using a distrobution of linux running BIND. I think I made all the necessary edits to the configuration files and done all that correctly.

Question is, it usually takes up to 48 hours to update the DNS? Or how does it exactly go with a custom nameserver?

Thanks for any help.
Antigd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 5th, 2007, 6:40 PM   #2 (permalink)
Registered User
Comfy Contributor
 
Joined in Jun 2005
Lives in Singapore
Hosted on Pass15
120 posts
Gave thanks: 2
Thanked 0 times
Because the nameservers are cached at various DNS servers around the world, when there is a change in the nameservers, the DNS servers won't know and they will reply with the outdated IPs.

Only after some time later e.g. 48 hours or some other TTL, then they will refresh the cache to query your domain again.

But if you are just adding a NEW A record, the change should be almost immediate because they query the same (name) servers for the new A record.
__________________
Regards,
Jake See
Pass15:
http://www.vuox.com

Last edited by JakeSee; January 5th, 2007 at 6:41 PM..
JakeSee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 5th, 2007, 11:59 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2005
4 posts
Gave thanks: 0
Thanked 0 times
Is there any way to check to make sure the nameserver is up and everything is ok?

When I do a run an nslookup on my unix box on the domain, it gets a nameserver timeout...

I hate waiting and not knowing if it hasn't been updated or if its a problem on my end.
Antigd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 6th, 2007, 12:32 AM   #4 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2005
4 posts
Gave thanks: 0
Thanked 0 times
Crud, sorry for the double post, I was unable o find a way to edit my previous post.

As for the caching, it just caches the IP of the nameserver? Or does it have to cache any files made to the nameserver? If changes to any of the config files takes place, will I have to wait the cycle again to re-cache if the changes have done anything?

If that is the case, does anyone know of a bullet proof way of editing the nameserver so no errors are made lol?
Antigd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 6th, 2007, 1:25 AM   #5 (permalink)
Surpass Fan
Excelling Contributor
 
cowboy's Avatar
 
Joined in Nov 2005
Lives in Colorado
Hosted on DEDI
936 posts
Gave thanks: 2
Thanked 95 times
Quote:
Originally Posted by Antigd View Post
Is there any way to check to make sure the nameserver is up and everything is ok?
You can add entries to your client machines HOSTS file. It will point directly to the IP# and if your nameserver is working correctly it will deliver your page. You can also add ftp and mail variations as well, ie.:

the.server.ip.number your.domain
the.server.ip.number www.your.domain
the.server.ip.number ftp.your.domain
the.server.ip.number mail.your.domain

after DNS has completed you can remove them.

This also makes an easy way to test new sites before you change nameserver information for a domain.
__________________
Where would you be if you were at the highest court in the land (US)?
cowboy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 6th, 2007, 1:57 AM   #6 (permalink)
Registered User
Fresh Surpasser
 
Joined in Apr 2005
4 posts
Gave thanks: 0
Thanked 0 times
Hmmm, wow thats pretty clever.

Got a little problem doing that though. My webserver is on the same box as the nameserver.

But I tried it anyways and pointed my clients HOSTS file to point the domain at the nameservers IP, and I got the index page of my webhost (woot!).

But to make sure, I turned off my webserver, changed the nameserver's zone file to point it at google, and restarted it. To my dismay, I got a 404. So I'm guessing its my nameserver?
Antigd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

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