linux, dns, router & static ip

Kevin Darcy kcd at daimlerchrysler.com
Thu Aug 15 19:19:23 UTC 2002


nrr3nyc at netscape.net wrote:

> what is the right relationship/configuration between the router and
> the server running dns?
>
> i'm trying to run a little website.  here's what i have:
>
> a domain name from verisign/network solutions
> static ip from my dsl provider speakeasy
> linksys 4 port router (befsr41) with firmware 1.42.7
> redhat 7.1 development machine
> redhat 7.3 server running:
>    - dns-bind 9.2.0
>    - apache & jakarta-tomcat
>
> the server is configured with a static ip of 192.168.1.2
> the dev box gets its ip assigned by the router's dhcp (usually 192.168.1.101)
> using the router's admin screens i've set up:
>    - the server in the dmz
>    - the static ip in the router
>    - my server as the first dns machine.  speakeasy's dns servers as the
>          2nd and 3rd dns entries.
>
> the server has most non-essential services "turned off"
>
> my problem: the outside world doesn't seem to recognize
> my dns as the primary (or master) for my domain.  i'm not sure that
> the outside world can even get to my dns.
> however, i can use my dns to lookup ips for the outside world.
>
> what is the right relationship/configuration between the router and
> the server running dns?
>
> other things:
> ---------------
> i do not (yet) have a secondary dns set up.  (thinking of using granite canyon)
> i prefer to not use port forwarding b/c with the linksys router that means that
> the dhcp feature must be disabled.  (want to keep that on for times when i
> connect my laptop to this little network)
> i've used albitz & liu's "dns and bind" book to learn how to configure

You must forward port 53 to your Linux box.You shouldn't need to disable DHCP in
order to do that. Just make sure that your Linux box'es IP address is outside the
range that the Linksys is using for DHCP (but still on the same subnet of course).


- Kevin




More information about the bind-users mailing list