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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 15th, 2003, 11:57 AM
vladkornea vladkornea is offline
TypeTango Webmaster
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: New York City
Posts: 14 vladkornea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m
Reputation Power: 0
djbdns

I tried djbdns and it seems to be working, but I'm apparently not understanding something fundamental here.

This is my data file:

=server.typetango.com:65.219.63.17:86400
.mbtimatch.com:65.219.63.17:a:259200
.mbtimatch.com:65.219.63.18:b:259200
+mbtimatch.com:65.219.63.17:86400

This is what http://checkdns.net says:

DNS server a.ns.mbtimatch.com[65.219.63.17] is alive and authoritative for domain mbtimatch.com
Error fetching SOA from b.ns.mbtimatch.com [65.219.63.18]: Connection reset. Probably DNS server is offline.

Why is b.ns.mbtimatch.com not alive? It seems to be configured just the same as a.ns.mbtimatch.com.

Also, when I ping mbtimatch.com, I'm told that its IP address is 65.219.63.17. When I go to 65.219.63.17 using a web browser, I see my home page, but when I go to mbtimatch.com using a web browser, I get a "cannot find server" error. Why?

I'm sorry if these are stupid questions, but I've been trying to get this to work for about two weeks now, and it doesn't look like I'm going to find better info online than I already have any time soon. It would be a big help if someone more knowledgeable answered my questions directly.

Thanks,

Vladimir Kornea

Reply With Quote
  #2  
Old July 15th, 2003, 03:31 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
This is my data file:

=server.typetango.com:65.219.63.17:86400
.mbtimatch.com:65.219.63.17:a:259200
.mbtimatch.com:65.219.63.18:b:259200
+mbtimatch.com:65.219.63.17:86400

Looks good.

Quote:
Error fetching SOA from b.ns.mbtimatch.com [65.219.63.18]: Connection reset. Probably DNS server is offline.

checkdns.net speaketh the truth. I can get an SOA response from 65.219.63.17 but not from 65.219.63.18.

Are you using one machine with two IP addresses for a.ns.mbtimatch.com and b.ns.mbtimatch.com, or two separate machines?

Quote:
Also, when I ping mbtimatch.com, I'm told that its IP address is 65.219.63.17. When I go to 65.219.63.17 using a web browser, I see my home page, but when I go to mbtimatch.com using a web browser, I get a "cannot find server" error. Why?

When DNS clients try to resolve a domain name, they pick one of the designated authorative servers randomly and send it the query. Evidently, your ping command picked the server that worked, and your browser didn't. The fact that it was a browser that failed is irrelevant - I was able to call up your site (Apache index of rationalromance.com) in my browser by entering mbtimatch.com
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old July 15th, 2003, 04:19 PM
vladkornea vladkornea is offline
TypeTango Webmaster
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: New York City
Posts: 14 vladkornea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m
Reputation Power: 0
Quote:
"Are you using one machine with two IP addresses for a.ns.mbtimatch.com and b.ns.mbtimatch.com, or two separate machines?"

I'm using one machine with two IP addresses.

Thanks,

Vladimir Kornea

Reply With Quote
  #4  
Old July 15th, 2003, 04:44 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
OK, I'm assuming that you didn't run tinydns-conf a second time for the second IP address (please correct me if I'm wrong).

To do this, run the following commands:

Code:
tinydns-conf Gtinydns Gdnslog /etc/tinydns2 65.219.63.18
cd /etc/tinydns2
rm -rf root
ln -s /etc/tinydns/root .
ln -s /etc/tinydns2 /service

assuming that Gtinydns and Gdnslog are your tinydns and dnslog users respectively (change them if different).

The above command will set up a new directory for your second instance of tinydns listening on the second IP address, publishing the same data as the first tinydns instance (hence the symlink to its root).

You can check if it's working correctly with:
Code:
svstat /service/*

This should give you an uptime greater than 1 second for /service/tinydns2

Reply With Quote
  #5  
Old July 15th, 2003, 05:07 PM
vladkornea vladkornea is offline
TypeTango Webmaster
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: New York City
Posts: 14 vladkornea User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m
Reputation Power: 0
Quote:
OK, I'm assuming that you didn't run tinydns-conf a second time for the second IP address (please correct me if I'm wrong).


You're right, I didn't do that. Your solution worked. Thank you very much.

Vladimir Kornea

Reply With Quote
  #6  
Old July 15th, 2003, 06:31 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Any time

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > djbdns


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