Newbie; setting up DNS with ISP

Ernie Thibault ernie at bit-net.com
Mon Dec 22 00:48:35 UTC 2003


Hi,
I am setting up my dns server  I think I have it working.
I telnet into my ISP and do a  nslookup to verify that DNS is has been 
pass though the router connection and it seems to.
My ISP thinks that I may have a problem and have not been able to 
configure there DNS to resolve ourwire.com.

I have included my my nslookup and simple name.config file. I would 
appreciate any comments.

Thank you
ernie.

 > nslookup
 > server 216.38.160.189
Default Server:  IP160-189.dsl.bit-net.c
Address:  216.38.160.189

 > ourwire.com
Server:  IP160-189.dsl.bit-net.com
Address:  216.38.160.189

Name:    ourwire.com
Address:  216.38.160.189

 > www.ourwire.com
Server:  IP160-189.dsl.bit-net.com
Address:  216.38.160.189

Name:    www.ourwire.com
Address:  216.38.160.189

////////////////////////////////////////

here is my config

//////////////////////////////////////

named.conf
//
options {
         directory "/var/named";
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
         pid-file "named.pid";     // index id ?
         query-source address 192.168.0.4 port 53;

};

//
// a caching only nameserver config
//
zone "." IN {
        type hint;
        file "named.ca";
};
 
zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
};
 
zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "named.local";
        allow-update { none; };
};
 
//ourwire.con
zone "ourwire.com"                      { type master; file 
"ourwire/ourwire.db";        };
 
//reverse mapping
//
zone "0.168.192.in-addr.arpa"           { type master; file 
"rev/192.168.0.rev";        };
 
//
key "key" {
        algorithm hmac-md5;
        secret "QkLLUQKibmrKEEqbSVeqoK";
};



///////////////////////////////////
// file ourwire.db
//////////////////////////////////

$TTL 3600
;$TTL 86400
; Data file of hostnames in this zone.
;
@       IN      SOA     dns.ourwire.com. postmaster.mail.ourwire.com. (
                        310033          ; Serial
                        10800           ; Refresh - 3 hours
                        900             ; Retry - 15 minute
                        604800          ; Expire - 1 weeks
                        86400 )         ; Minimum - 24 hours
        IN      NS      dns.ourwire.com.
;        IN      NS      dns2.ourwire.com.
        IN      MX      10      smtp.ourwire.com.
;        IN      MX      20      smtp.ourwire.com.
        IN      A       216.38.160.189
 
;
;       ourwire.com
;
 
www                     IN      A               216.38.160.189
                        IN      MX              10 www.ourwire.com.
ftp                     IN      CNAME           www
dns                     IN      A               216.38.160.189
smtp                    IN      A               216.38.160.189
;
 
news                    IN      A               216.38.160.189
news2                   IN      CNAME           news
;
mailhost                IN      CNAME           mail
pop3                    IN      CNAME           mail 
;
;rtr1                    IN      A               216.38.160.189
;squid                   IN      A               216.38.160.189
;
;







More information about the bind-users mailing list