DSL > RH7.1 > 3 clients

Ralph php4u at pacbell.net
Tue Oct 16 15:20:59 UTC 2001



Goal: to have RH7.1 bind be able to act as DNS for 3 clients, which
can be accessed via the Internet. Specifically, i want to be able to
type g4.policing.net into a bowser and see the page  :)

My set-up is as follows:

--->DSL (static IP)line-->router/firewall-->hub

Going into the hub are 3 clinets and my RH box which is also my web
server. My ISP is runing DNS and points to my domain name.

My static IP# 66.120.123.xxx

My RH box is 192.168.123.xxx

My clients are 192.168.123.xxx

I was using the bind-gui tool, which seemed to make sense, but met
with negative results. I tried a couple of on-line exapmples,
including one from RH, which also met with negative results. I was
using my RH IS # as the number of the name server...should i be using
the static IP#?

Do i need to let my ISP know that i will be running DNS now?
Did i misconfigure it?

Here are the files listed in /var/named :

0.0.127.in-addr.arpa.zone
$TTL 86400
@       IN      SOA     localhost.      root.localhost (
                        1 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttk
                        )


@       IN      NS      localhost.

1       IN      PTR     localhost.
---------------------------------------------
123.168.192.in-addr.arpa.zone
$TTL 86400
@       IN      SOA     @       root.localhost (
                        2 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttk
                        )


@       IN      NS      ns1.pbi.net.
@       IN      NS      ns2.pbi.net.
@       IN      NS      www.policing.net.

197     IN      PTR     g4.policing.net.
---------------------------------------------
localhost.zone
$TTL 86400
@       IN      SOA     @  root.localhost (
                        1 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )


@       IN      NS      localhost.


@       IN      A       127.0.0.1
-------------------------------------------
there are named.ca. and named.local too

--------------------------------------------
policing.net.zone
$TTL 86400
@       IN      SOA     @  root.localhost (
                        2 ; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire
                        86400 ; ttl
                        )


@       IN      NS      www.policing.net
www     IN      NS      www.policing.net

www     IN      MX      1       mail.policing.net
g4      IN      MX      1       mail.policing.net
@       IN      MX      1       mail.policing.net

www     IN      A       192.168.123.xxx
g4      IN      A       192.168.123.xxx
------------------------------------------------

thanks in advance!

Ralph


More information about the bind-users mailing list