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:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 14th, 2003, 07:11 PM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question my nameserver giving mysterious problems!

Hi all

I have a website , my-website.com
and I have another website called - my-second-site.com

I am running nameserver for them on my own server usnig BIND. (By the way, I am running both primary, and secondary name server on the same box - stupid - but I can't afford a second machine and internet connection to it)
Anyways.. so the problem is
www.my-second-site.com is reachable by browsers and my-website.com is not. Both were reachable untill few days ago..since over 6 months. But now suddenly one of them is not resolving properly !
I have checked named.conf thoroughly, I have checked the host file etc. all SOA records are in order, no syntax error either. Everything is working fine. One site is accessible and other is not !
:


Domain name has also not expired or anything.

Kindly advise !! Please

Reply With Quote
  #2  
Old July 14th, 2003, 07:35 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,427 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 20 h 41 m 10 sec
Reputation Power: 776

Reply With Quote
  #3  
Old July 14th, 2003, 10:32 PM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sorry ! names of the DNSes are

Hi,

Thanks Scorpions4ever for that link.
Sorry for the obscuration !

My Site name is www.exeedra.com ( it is inaccessible by name, and is accessible by IP)
http://66.221.104.10 accessible
www.exeedra.com - not reachable.

My second site's name is www.exceedra.com (it is accessible by name!)

Both are hosted on the same server, same machine, same ip, same nameservers/dns.


Kindly advise !! Please.

Reply With Quote
  #4  
Old July 14th, 2003, 11:32 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,427 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 20 h 41 m 10 sec
Reputation Power: 776
Please post the config file for exeedra.com, as well as the relevant section of named.conf here. It appears that your name server replies fine for exceedra.com, but not for exeedra.com. I suspect you have a nameserver config issue here.

Reply With Quote
  #5  
Old July 14th, 2003, 11:56 PM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
config files

Hi ,

First of all, thanks for taking time to go through my post and answering me. I really apperciate it.

I have attached the zip file, which conains three text file

1. named-conf.txt .. I have copy pasted everything from that to in his text file.

2. exeedra-com-hosts text file..copied from that to in this text.

3. exceedra-com-hosts text file..copied from there to this text file.

I dont know if there are any more config files that r needed to be attached

There are other domains/subdomains that I have hosted on the server, so the file called exeedra.com.hosts was pretty big..

I could not copy-paste all the records but I have copy-pasted most of the file into this text.. All the records were identical with just different subdomain name. For example:

$ORIGIN car.exeedra.com.
www 86400 IN A 66.221.104.10
$ORIGIN sitename.exeedra.com.
www 86400 IN A 66.221.104.10

Thank you so much !
Attached Files
File Type: zip config.zip (1.4 KB, 321 views)

Reply With Quote
  #6  
Old July 15th, 2003, 12:03 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,427 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 20 h 41 m 10 sec
Reputation Power: 776
1. Did you use some kind of admin tool to edit your exeedra.com.hosts file? It appears to be frobbed.

2. It appears that you have multiple subdomains. Some of them appear to be test subdomains (such as hello123). Do you want them to be there or not?

Anyways, try this for the exeedra.com.hosts file:
Code:
exeedra.com.	IN	SOA	ns1.exeedra.com. hostmaster.exeedra.com. (
                                        1027942480      ; Serial
                                        10700           ; refresh every 10 hours
                                        3600            ; retry after 1 hour
                                        604800          ; expire after 1000 hours
                                        36000           ; default ttl is 100 hours
				)
@		IN	NS	ns1.exeedra.com.
@		IN	NS	ns2.exeedra.com.
@		IN	MX	10 mail.exeedra.com.
mail		IN	A	66.221.104.10
www		IN	A	66.221.104.10
sachin		IN	A	66.221.104.10
max		IN	A	66.221.104.10
sitename		IN	A	66.221.104.10
car		IN	A	66.221.104.10
hello123		IN	A	66.221.104.10
@		IN	A	66.221.104.10

HTH

Reply With Quote
  #7  
Old July 15th, 2003, 06:42 PM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
2. It appears that you have multiple subdomains. Some of them appear to be test subdomains (such as hello123). Do you want them to be there or not?
HTH


Thanks for the code.
Yes, I will be needing all the subdomains and a whole lot more. I hope that does not create any problems. Does it ?

Yes, let me try out the code. I'll let you know if it works.

Thanks a ton for spending time on answering my post. I am still a newbie but I hope to be able to help everyone I learn more.

Reply With Quote
  #8  
Old July 16th, 2003, 02:51 AM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Hey it worked!

Hey,

I had to make little more changes to the file for adjusting all the subdomains ..but essentially the same code.

It worked ! Thanks a ton !

You are the bond ;-)

Can I ask another question ? How to setup my secondary DNS (slave nameserver) with a different IP on the same machine. I have a second IP 66.221.104.11 too.
As in, Would I have to make any changes in the Zone(.hosts) file while setting it up ?

Reply With Quote
  #9  
Old July 16th, 2003, 01:16 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,427 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 20 h 41 m 10 sec
Reputation Power: 776
I'm glad that the config file worked for you -- I haven't been using Bind in a while, so I wasn't sure if I had the syntax correctly .

As for your question, there's no need to make changes to the config files -- just add the second IP to your box and then stop and restart Bind. By default, Bind listens on all available interfaces, so it'll pick up the changes when you restart it.
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #10  
Old July 16th, 2003, 08:40 PM
ca123 ca123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 9 ca123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
got the PM ? thanks

Thanks a ton.

Scorpio.. Did you also get my PM ?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > my nameserver giving mysterious problems!


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 4 hosted by Hostway