SLES-11 "forgets" DNS server input in yast configuration..
I'm evaluating SLES-11 (x64), and so far so good. Except the DNS server config.
When configuring BIND with YaST (with LDAP support), I've only managed to
create two master zones(main domain + reverse), and a NS record + one A record.
..Everything else from this point will not get saved no matter how little or much I try to input.
/etc/named.conf contains default values plus my two master zones.
Permissions on /var/lib/named :
Server:~ # ls -l /var/lib/named/
total 40
-rw-r--r-- 1 root root 192 Jul 4 2001 127.0.0.zone
drwxr-xr-x 2 root root 4096 Apr 7 09:23 dev
drwxr-xr-x 2 named named 4096 Apr 7 09:38 dyn
drwxr-xr-x 3 root root 4096 Apr 7 09:39 etc
-rw-r--r-- 1 root root 158 Jul 4 2001 localhost.zone
drwxr-xr-x 2 named named 4096 Feb 23 18:55 log
drwxr-xr-x 2 root root 4096 Apr 7 09:38 master
-rw-r--r-- 1 root root 2878 Feb 23 18:55 root.hint
drwxr-xr-x 2 named named 4096 Feb 23 18:55 slave
drwxr-xr-x 4 root root 4096 Apr 7 09:23 var
Server:~ # ls -l /var/lib/ | grep named
drwxr-xr-x 9 root root 4096 Apr 7 09:23 named
Server:~ # ls -l /var/lib/named/master/
total 8
-rw-r--r-- 1 root root 182 Apr 7 09:38 10.168.192.in-addr.arpa
-rw-r--r-- 1 root root 180 Apr 7 09:28 mydomain.net
I checked, since more often than not, these lines appear in my /var/log/messages:
named[16911]: loading configuration from '/etc/named.conf'
named[16911]: the working directory is not writable
Please note the permission on my master files.
The first time and only time I managed to add any records to the zones, these files where owned by "named".
..but, the ownership is CHANGED EVERYTIME I RUN THE YaST DNS MODULE!
I don't have much hair on my head left.. please advice if anyone has experienced anything similar, or need additional info about my setup. :(
Last:
- Yes, the named deamon runs as user "named"
- Yes, named runs chrooted as SLES-11 defaults.
- No, changing any of the two above mentioned settings did not help..
Frustrated regards;
Alf Solli
|