SETTING UP MY OWN DNS SERVER

Andrew Flagg andyf at the-onramp.net
Tue Jun 18 23:47:55 UTC 2002


you have to apply and submit a hostname form with Network Solutions.
Otherwise, your dns will not be recognized by the root servers.
it is pretty simple. go to netsol, find forms... fill it out, print, sign
and fax..

"june" <june03 at acedsl.com> wrote in message
news:740a948.0206181318.689e4b6f at posting.google.com...

Hi,

Here is what i did so far to host my own DNS server:

- I have a /29 network from my ISP
- I registered my domain name (netmgmt.net) at www.netsol.com and
setup my primary server to point to my public IP.
- I have open the neccessary ports on my PIX firewall to allow dns
queries (TCP & UDP 53)
- Setup and installed Bind on my server.
- IP for the DNS is 66.114.76.94 which NAT to 10.0.1.110.

I can reslove domain names internally, but nobody on the www can't
access my website.

I started BIND and received no errors.

Any suggestions

here is my config:

-----------------db.10.0.1--------------------

$TTL 38400
; /var/named/db.10.0.1
;

1.0.10.in-addr.arpa. IN SOA ns1.netmgmtnet. admin.netmgmt.net.
(
                          1        ; Serial
                          10800    ; Refresh after 3 hours
                          3600     ; Retry after 1 hour
                          604800   ; Expire after 1 week
                          86400 )  ; Minimum TTL of 1 day

; Name servers

1.0.10.in-addr.arpa.    IN NS    ns1.netmgmt.net.

; Addresses point to canonical names

110.0.1.10.in-addr.arpa.    IN PTR    ns1.netmgmt.net.
110.0.1.10.in-addr.arpa.    IN PTR    www.netmgmt.net.
110.0.1.10.in-addr.arpa.    IN PTR    netmgmt.net.


-------------------db.netmgmt.net.----------------------

$TTL 86401
; /var/named/db.netmgmt.net.
;

netmgmt.net.. IN SOA ns1.netmgmt.net. admin.netmgmt.net. (
                          1        ; Serial
                          10800    ; Refresh after 3 hours
                          3600     ; Retry after 1 hour
                          604800   ; Expire after 1 week
                          86400 )  ; Minimum TTL of 1 day

; Name servers

netmgmt.net.    IN NS  ns1.netmgmt.net..

; Primary Addresses

ns1.netmgmt.net.    IN A    10.0.1.110
www.netmgmt.net.    IN A    10.0.1.110
netmgmt.net.     IN A    10.0.1.110



---------------named.conf----------------

// BIND 8.2 Config File
// /etc/named.conf


zone "mydomain.org" in {
type master;
file "db.netmgmt.net";
};

zone "123.168.192.in-addr.arpa" in {
type master;
file "db.10.0.1";
};

zone "0.0.127.in-addr.arpa" in {
type master;
file "db.127.0.0";
};

zone "." in {
type hint;
file "db.cache";
};

is there anything else i need to do?

thank u,

june





More information about the bind-users mailing list