Results 1 to 6 of 6
I have a primary master name server and a slave name server.
When a start the slave server I get the following error:
Jan 31 17:42:41.799 dumping master file: /etc/named/tmp-XXXX2RSNyT: ...
- 01-31-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Germany
- Posts
- 69
Bind 9 - zone transfer - permission denied
I have a primary master name server and a slave name server.
When a start the slave server I get the following error:
Jan 31 17:42:41.799 dumping master file: /etc/named/tmp-XXXX2RSNyT: open: permission denied
Jan 31 17:42:41.799 transfer of 'mydomain.com/IN' from 192.168.3.1#53: failed while receiving responses: permission denied
On the master server the zone files has 744 permissions set and is own by root.
Why do I get this permission error if the files have set Read access for everybody?
Thanks,
ddaas
- 01-31-2005 #2Linux Engineer
- Join Date
- Nov 2004
- Location
- Montreal, Canada
- Posts
- 1,271
is it trying to write into the Tmp file...dumping master file: /etc/named/tmp-XXXX2RSNyT
have you tryed different rights\"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
\"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps
- 01-31-2005 #3Just Joined!
- Join Date
- Jan 2005
- Location
- Germany
- Posts
- 69
I don't know why it tries to write into a tmp file.
No I didn't try different rights because it's a production server and I'm concerned about security.
The read right should be enough....
Any idea??
- 05-05-2005 #4Just Joined!
- Join Date
- May 2005
- Posts
- 3
I had a similar problem and changed the permissions so that named owned the files. Mine works now!
- 05-05-2005 #5Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
slave zones require a writeable directory cause BIND automatically creates and writes to the slave zone file. With tight implementations of BIND security, there is a directory setup for slave and dynamic zones specifically and the master zones go into their own read-only directory.
- 02-09-2009 #6Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
Solved!
You need to put 'ENABLE_ZONE_WRITE=yes' in /etc/sysconfig/named .
By default, write of master zone files is disabled



