LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-Apr-2009, 03:11 AM
Junior Member
 
Join Date: Jun 2008
Posts: 6
alfhsolli 0 reputation points
Default 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
Reply With Quote
 

Tags
bind, dns, named, sles-11, yast

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 03:33 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2