Internal Domain isn't working

Everton Thomaz everthomaz at yahoo.com.br
Thu Sep 23 19:28:37 UTC 2004


Sorry, i'm a bind's new user. I don't have a good
knowhow about this.
I'm sending above my configuration files.
Can you correct it for me?


*** /etc/named.conf

// generated by named-bootconf.pl
 
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.
         */
        // query-source address * port 53;
};
 
//
// a caching only nameserver config
//
controls {
        inet 127.0.0.1 allow { localhost; } keys {
rndckey; };
};
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; };
};
 
zone "dominio20.com" IN {
        type master;
        file "dominio20.zone";
};
 
zone "2.50.10.in-addr.arpa" IN {
        type master;
        file "2.50.10.reverse";
};
 
include "/etc/rndc.key";

*** /var/named/named.ca
Is a file of the root servers.

*** /var/named/localhost.zone
$TTL    86400
$ORIGIN localhost.
@                       1D IN SOA       @ root (
                                        42            
 ; serial (d. adams)
                                        3H            
 ; refresh
                                        15M           
 ; retry
                                        1W            
 ; expiry
                                        1D )          
 ; minimum
                                                      
                         
                        1D IN NS        @
                        1D IN A         127.0.0.1

*** /var/named/dominio20.zone$TTL    86400
@       IN      SOA     ns.dominio20.com.
hostmaster.dominio20.com.  (
                                      2004092300 ;
Serial
                                      28800      ;
Refresh
                                      14400      ;
Retry
                                      3600000    ;
Expire
                                      86400 )    ;
Minimum
@       IN      A       10.50.2.20
@       IN      NS      ns.dominio20.com.
@       IN      MX      10      mail.dominio20.com.
                                                      
                         
ns      IN      A       10.50.2.20
mail    IN      A       ns.dominio20.com.
pop3    IN      CNAME   ns.dominio20.com.
smtp    IN      CNAME   ns.dominio20.com.

*** /var/named/2.50.10.reverse

$TTL    86400
@       IN      SOA     ns.dominio20.com.
hostmaster.dominio20.com.  (
                                      1997022700 ;
Serial
                                      28800      ;
Refresh
                                      14400      ;
Retry
                                      3600000    ;
Expire
                                      86400 )    ;
Minimum
@       IN      NS      ns.dominio20.com.
@       IN      MX      10      mail.dominio20.com.
                                                      
                         
1 IN PTR ns.dominio20.com
2 IN PTR mail.dominio20.com


And then, i usually do:

# nslookup terra.com.br
Server:         127.0.0.1
Address:        127.0.0.1#53
 
Non-authoritative answer:
Name:   terra.com.br
Address: 200.176.3.142


# nslookup dominio20.com
Server:         127.0.0.1
Address:        127.0.0.1#53
 
** server can't find dominio20.com: SERVFAIL


Regards.
Everton Thomaz

 --- Kevin Darcy <kcd at daimlerchrysler.com> escreveu: 
> There's nothing inherently special about an
> "internal" domain.
> 
> I assume, therefore, that you're having trouble
> setting up a master 
> zone. The first thing to look for would be errors in
> the log file about 
> not being able to load the zone. You could also try
> running the 
> "named-checkzone" utility on it (see the
> documentation for the command 
> syntax).
> 
>                                                     
>                     
>                            - Kevin
> 
> Everton Thomaz wrote:
> 
> >Hello.
> >
> >I'm using Fedora Core 2 with kernel 2.6.8-1.521 and
> >bind 9.2.3-13. I am not able to get my internal
> domain
> >working, just the external one is working resolved
> by
> >the "Root Servers".
> >
> >Anybody have any solution for this?
> >Anybody have an internal domain configuration
> example
> >in bind 9.2.3?
> >
> >Thanks,
> >Everton Thomaz
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> >
> >
> >
> >
> >  
> >
> 
> 
> 
>  


	
	
		
_______________________________________________________
Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita diversão. Instale agora!
http://br.download.yahoo.com/messenger/


More information about the bind-users mailing list