[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhn-users] Vijay - bind minor configuration help needed.



Hi,

I have the configurations for a master server for "in.edapter.com" on
"localmachine" as below.
This machine is connected to the internet and is a RedHat 9.0 system with
bind-9.2.1-16

When I do a nslookup for in.edapter.com , I get a response :
Can't find in.edapter.com: No answer

Whereas for localmachine I get a positive response and also for any other
internet servers/ url's , although there are no other
entries in resolve.conf or no forwarders have been configured.

a) Why am I unable to get a positive response for in.edapter.com for which
its a master server ?

b)  How is the machine able to send and get positive response of all
internet url's ?

c)  How can I stop and start named ? /etc/rc.d/init.d/named stop dosent work
     Only the start  parameters works. I believe its only for remote
connectivity to te named
     service and issuing command like stop/start etc..

d) How can I have a seperate log file for named ? eg : /var/log/named.log.

Please help,

Regards,
Vijay.

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

    IN NS 192.168.0.229.
localmachine   IN A  192.168.0.229
ftp  IN CNAME localmachine .

----------------------------------------------------------------------------
reverse.edapter
----------------------------------------------------------------------------
$TTL 86400
@       IN      SOA     in.edapter.com. root.localhost.  (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
@              IN      NS     cvsbkup.

229       IN      PTR    localmachine.

----------------------------------------------------------------------------
/etc/named.conf
----------------------------------------------------------------------------
options {
 directory "/var/named";
};
// a caching only nameserver config
controls {
 inet 127.0.0.1 allow { localhost; } keys { rndckey; };
 inet 192.168.0.229 allow { 127.0.0.1;
     192.168.0.0/24;
   } keys { rndckey; };
};

zone "in.edapter.com" IN {
 type master;
 file "edapter.zone";
 };

zone "0.168.192.in-addr.arpa" IN {
 type master;
 file "reverse.edapter";
 allow-update { none; };
};

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; };
}; */

include "/etc/rndc.key";
----------------------------------------------------------------------------




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]