Click to See Complete Forum and Search --> : server dhcp


drag0n
05-21-2003, 08:51 PM
Well see I found the problem... I cant host DNS since my ISp and my Router is using DHCP, right now my router is taking all the DNS resolving issues and if I type :
nslookup
> server
server: 192.168.2.1 -- that is the main internal ip which belongs to the router itself
address: 192.168.2.1#53
Has anyone ever successfully set up DNS behind a cable connection?
I dont know how to solve this anymore Anybody got any kind of ideas?

nivek9991
05-22-2003, 01:16 AM
Sup Drag0n ;)
As I recommended earlier, disable DHCP on your router and enable it on your server.

I think that would stop the router and server fighting over control of the IP's, and it might help to enable DNS.

yelvington
05-26-2003, 10:28 AM
Depends on what you are trying to do. Your question is not clear.

Are you trying to provide external DNS services for your own domain? If you have a cable modem or DSL and your provider dynamically assigns you an address, you can NOT be your own DNS provider for your own domain. DNS servers must be hosts with static addresses, since they are registered with the root domain providers and those records are not intended to be updated frequently.

You need an external DNS provider.

If your address changes frequently, Google for a "dynamic DNS provider." Some router/firewall devices can be used with dynamic DNS services, but it's likely that you will need to reconfigure your network with your Linux box taking the place of your router/firewall (you'll need to install a second network card) and install appropriate auto-updating software.

If your address doesn't change frequently, EasyDNS or MyDNS.com will do, and you can configure your router/firewall to redirect well-known ports (such as HTTP and SMTP) to specific internal hosts.

drag0n
05-26-2003, 11:52 AM
thanks for the info, Ive already got DNS up and going
check out: www.phatlyrics.com Im hosting the DNS servers for that and Im on a cable modem using DHCP :)
One problem though. I have a pretty messy organization skills on my server. Id really like to know how the real web hosting companies organize their files set up vhosts, dns, and postfix, proftpd, etc etc, I doubt they do it by hand like I do itll take them hours... but do they have scripts, Perl, Shell I dont know..? If they do do any of you guys know of any good scripts I should get that are free? Another thing, what do virtual hosts in PostFix do, like Im confused on how the mail server works, where does it store its infomation, where does it store its e-mails?? Where do I add users/logins do I have to add a user to the system each time I add a new e-mail account? ell I hope someone can help me out, it would be better if you can also write the shell scripts that do these things automatically and Im sure we can work out a deal some way, so contact me if you are interested. Thanks