Thank you for your reply . I am sorry but it seems that you have not understand the actual issue which I am facing.
If you read my first post then I have already mentioned that I understand why this error is getting reported at slave server log file.
Quote:
Originally Posted by pratapsingh
Hello ,
client 192.168.1.1#43428: view external: received notify for zone 'yourdomainname.com': not authoritative
At master server I do not see any error or warning message.
This error clearly indicates that named.conf file does not have zone entry in it or domain name is wrong. While checking the named.conf file I see that the zone entry has not been updated at slave server.
If I update it manually and reload named on slave then zone files (db files) are getting created without any issue and any modification at master server for the zone records are also getting updated.
My concern is why zone record is not getting appended at slave server in named.conf file.
Is there anything I am missing in the configuration.
|
I said =>
I am adding a new zone entry in named.conf at master server and creating a zone record file at master server not at the slave server first of all.
Once I have done it I am reloading/restarting the named at master server, and have not touched slave server at all so far . Now what I want is zone entry should get appended in named.conf file at slave server and zone record file should get created at slave server. Hope I am making myself clear this time.
Neither the zone entry in slave server getting appended nor zone record file is getting created at slave server.
If I edit the slave server named.conf file manually and add the zone entry for new domain in named.conf (at slave server) and reload the named then zone record file is getting created and after this any changes made in master server in the zone record of the new domain are also getting updated at slave server.
There is no question of spelling mistake or zone record mismatch at slave server. What I want is when I add new domain zone entry in the named.conf file at master server and create a zone record file at master server (till this process I am not touching the slave server at all) and reload/restart the named then zone entry should get appended at slave and zone file must get created at slave server.
However this not happening till I add the zone entry in the named.conf file at slave server manually .
Here is the zone file of the domain
; Zone file for domain2.com
$TTL 86400
domain2.com. IN SOA ns1.domain1.com. admin (
2011021900 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
domain2.com. IN NS ns1.domain1.com. #ns1 is pointing to master server 192.168.0.1
domain2.com. IN NS ns2.domain1.com. #ns2 is pointing to slave server 192.168.1.1
domain2.com. IN A 192.168.3.200
www IN CNAME domain2.com.
mail IN A 192.168.3.200
domain2.com. IN MX 10 mail.domain2.com.
zone entry in named.conf file at master server
zone "domain2.com" in {
allow-transfer { 192.168.1.1; };
type master;
file "/var/named/domain2.com.db";
};
Thank you