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:
  #31  
Old December 31st, 2003, 07:44 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
PS; I'm also getting this occasionally in my dnscache log. I suspect this is because I don't have my port forwarding setup right.

2003-12-31 18:34:18.860358500 servfail hotmail.com. input/output error
2003-12-31 18:34:18.860363500 sent 651 29
2003-12-31 18:34:19.120496500 servfail hotmail.com. input/output error
2003-12-31 18:34:19.120501500 sent 652 29
2003-12-31 18:34:19.290278500 servfail msn.com. input/output error


And by the way, I do remember what you were saying about getting the server out from behind the router, and I'm working on that. I need to buy a decent hub and I've never bought one before, so I need to shop around. Any suggestions?

Reply With Quote
  #32  
Old January 1st, 2004, 04:19 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Any idea why it's showing me a directory listing?

Off topic here.

>> Here's my modified data file

You setup tinydns for 192.168.0.51. Its data file, however, MUST be referred to your external IPs.

>> I'm also getting this occasionally in my dnscache log

When you are running ANY kind of server using non-standard setup (behind a cheap router using port forwarding),
things just don't quite work as expected and be prepared to see unknown and unexpected errors. Though, fix your data file first and see if it helps any.

>> I need to buy a decent hub and I've never bought one before

I don't know which modem/router comes with your SpeakEasy package. I have a ZyXEL 4-port router configured
in bridge-mode. Say I have more than 4 IPs I then need to expand it with a switch (just don't use hub). When it's configured in bridge-mode, the IPs are pass-thru (don't assigned in the router).

Reply With Quote
  #33  
Old January 1st, 2004, 05:09 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
Sorry for getting off topic. I just figured since you knew my apache setup you might be able to shed a quick answer on the strange directory listing I'm getting. But then again, we're talking about routers and stuff, which is well beyond the discussion of djbdns, so we're already way off topic.

>> You setup tinydns for 192.168.0.51. Its data file, however, MUST be referred to your external IPs.

Yeah, I don't know how I got back on using local IPs again. Anyway, I just changed all the IP's in the data file to my external IP and did a make. It still does the same thing. I'm able to see the site, but it's only a directory listing. Since I'm able to view the site (in some form) that tells me it's working, right?

If I type in nothing.rpgdomains.com, it throws a cannot find page message... what symbol do I use in the data file that will give me a catch-all like *.rpgdomains.com?

I have a different model router (Efficient Networks) but it's setup the same way. It's bridged. And while I barely understand what that means, I think I get the basic idea.

I believe I want to setup my network like this...



What kind of switch do you recommend?? Or what do you NOT recommend?

Reply With Quote
  #34  
Old January 1st, 2004, 05:36 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
I just changed all the IP's in the data file to my external IP and did a make. It still does the same thing
You need to flush your dnscache as well. If you are using your ISP's nameserver then you just have to wait.
Quote:
I just figured since you knew my apache setup you might be able to shed a quick answer
UseCanonicalName MUST be Off. Anyhow, if your data file of tinydns hasn't get updated nothing will work. At this moment your ns1.rpgdomains.com is even down.
Quote:
I believe I want to setup my network like this
You didn't tell me how many port your Efficient comes with. If it has just one port, then you do need to get a switch, preferably Linksys. According to the diagram, using a hardware router is just plain waste of money.

Reply With Quote
  #35  
Old January 1st, 2004, 06:05 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
>> UseCanonicalName MUST be Off

It already is.

>> You need to flush your dnscache as well.

Ok. Did that.

>> If you are using your ISP's nameserver then you just have to wait.

Well, it's still showing the directory listing, so I guess I will just wait and see if anything changes, but meanwhile I will work on figuring out why I'm not seeing the index page.

>> At this moment your ns1.rpgdomains.com is even down.

Hmmm... don't know why. I just pinged it with no problem.

>> You didn't tell me how many port your Efficient comes with.

It has 4 outgoing ports and 1 incoming port... there is also another RJ45 port that is unmarked but I've yet to read the manual on this thing to figure out what it's for.

>> using a hardware router is just plain waste of money.

I assume you're talking about the one that splits off connections to the LAN in that diagram? That one will be my d-link wireless router that's sending wireless signal to all the other machines in my house.

Reply With Quote
  #36  
Old January 1st, 2004, 06:22 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
Ok, I figured something out, and I realize this is a little off topic. It was trying to use apache's default settings. When I added default.pl to my DirectoryIndex for the default server, the page started showing up. This was being taken care of in the virtual host block, but this tells me that it wasn't looking at the virtual host for information... it's just looking at the default server settings. Weird.

Reply With Quote
  #37  
Old January 1st, 2004, 06:53 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You didn't mention there is a default.pl file overriding the UseCanonicalName. Normally when whatever vhost requests refer back to your default server, that's because UseCanonicalName being turned on as Apache doesn't honor HTTP_HOST from the request.

>> I just pinged it with no problem

Ping is not a tool to troubleshoot this kind of problem. If you already removed your hardware router, then you need to change the setting for tinydns and dnscache because they no longer listen to 192.168.0.50 but your static IP.

>> It has 4 outgoing ports

Then just plug in your server to one of the 4, connect your switch between your server and your workstations. If you have another server, connect it directly to another one of the 4 ports.

Reply With Quote
  #38  
Old January 3rd, 2004, 02:03 PM
Donboy's Avatar
Donboy Donboy is offline
The Evil Monkey
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 220 Donboy User rank is Private First Class (20 - 50 Reputation Level)Donboy User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 6 h 38 m 10 sec
Reputation Power: 6
>> You didn't mention there is a default.pl file overriding the UseCanonicalName

Well, it seems to be working well-enough now. I will leave this discussion for another time if there are any further problems.

>> Ping is not a tool to troubleshoot this kind of problem

Ok. My bad. What were you using when it was unreachable.

>> If you already removed your hardware router

Not yet. I think I am going to wait until I get IPtables up and running. I know you've said before that it's not a very effective firewall (not like BSD) but it's all I've got unless somebody can suggest alternative software firewall that works with RH9.

>> Then just plug in your server to one of the 4

You mean just plug the server into one of the 4 ports on the router/DSL modem that speakeasy provided me?? So I guess I have to go into the modem's config pages and assign one of my static IPs to the server and assign my other static IP to the wireless router.

Thanks for the help, once again. I will try all of this as soon as I do my homework and figure out how to setup iptables so my machine is secured.

Reply With Quote
  #39  
Old January 4th, 2004, 05:10 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do not post further Apache related questions in this thread. Even if your new question is dns related but if it's a different issue, start a new thread. Do not post further followups.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > djbdns on a home server cable connection


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 1 hosted by Hostway
Stay green...Green IT