Bet u know this one

Paco paco at aol.biz
Sun Jul 27 00:45:59 UTC 2003


I bought a domain name from a registrar, but there is not help in setting it
up to host my web server at home with with the cable company..

I got freebsd, apache, dns resolving for the internal home network.
but I can NOT get to my www.perritoperron.com, from the net, I need a little
help please...
all files located in /etc/namedb

Sections
1. named.conf
2. perritoperron.com
3. reverse-perritoperron.com

Please help
Thanks

//**************************************************************************
****************
// etc/namedb/named.conf
// Setting up the DNS for the perritoperron.com file we created
options {
        directory "/etc/namedb";
        forwarders {
                24.28.99.62;
        };
        };

zone "perritoperron.com" {
            type master;
            file "perritoperron.com";
};

zone "." {
        type hint;
        file "named.root";
};

// Setting up the Reverse DNS information using the file
reverse-perritoperron.com

zone "0.0.127.IN-ADDR.ARPA" {
            type master;
            file "localhost.rev";
};

// Setting up the Reverse DNS information using our
reverse-perritoperron.com file

zone "0.168.192.in-addr.arpa" {
            type master;
            file "reverse-perritoperron.com";
};


//**************************************************************************
****************

// etc/named/perritoperron.com
; This is the information for the perritoperron.com zone in
/etc/namedb/perritoperron.com
$TTL  3600
perritoperron.com.               IN        SOA    NS1.perritoperron.com.
admin.perritoperron.com.  (
                20030726        ; Serial
                10800              ; Refresh (1 day)
                3600                ; Retry   (2 Hours)
                604800            ; Expire  ( 100 days)
                86400 )            ; Minimum TTL

; DNS Servers
@                               IN        NS       NS1.perritoperron.com.
;  Machine Names
localhost                       IN        A         127.0.0.1
NS1                             IN        A         192.168.0.1
NS1                             IN        A         24.167.26.214
@                                IN        A         24.167.26.214

; Aliases
www                             IN        CNAME          @
ftp                                 IN        CNAME
www.perritoperron.com


//**************************************************************************
****************

//etc/namedb/reverse-perritoperron.com

$TTL 3600
@                                IN        SOA    NS1.perritoperron.com.
admin.perritoperron.com. (

2001121802    ; Serial
                                                            10800
; Refresh (1 day)
                7200             ; Retry (2 Hours)
                86400000         ; Expire ( 100 days)
                86400 )          ; Minimum TTL
                                           IN        NS
NS1.perritoperron.com.
1                                         IN        PTR
NS1.perritoperron.com.
214                                     IN        PTR
NS1.perritoperron.com.






More information about the bind-users mailing list