|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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 |
|
#2
|
|||||
|
|||||
|
Quote:
Looks good. Quote:
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:
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) |
|
#3
|
|||
|
|||
|
Quote:
I'm using one machine with two IP addresses. Thanks, Vladimir Kornea |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
Quote:
You're right, I didn't do that. Your solution worked. Thank you very much. Vladimir Kornea |
|
#6
|
||||
|
||||
|
Any time
![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > djbdns |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|