DNS problem on Solaris 9

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Sun Sep 12 2004 - 15:41:52 EDT


Dear managers,

thanks a lot for all the responses received so far. They contained a
bunch of interesting info. However, I still do not have it running.
James Noyes was so kind to note that my reverse file is hosed.

> Your problem is in the reverse zone here. You're missing one of the 4
> dotted octets in your reverse (PTR) entries. They need to look like:
>
> 1.1.168.192.in-addr.arpa. IN PTR
> merkur.smartsoft-hl.de.
> 2.1.168.192.in-addr.arpa. IN PTR venus.smartsoft-hl.de.
> 3.1.168.192.in-addr.arpa. IN PTR earth.smartsoft-hl.de.
> 4.1.168.192.in-addr.arpa. IN PTR mars.smartsoft-hl.de.
> 5.1.168.192.in-addr.arpa. IN PTR
> jupiter.smartsoft-hl.de.
> 6.1.168.192.in-addr.arpa. IN PTR
> saturn.smartsoft-hl.de.

Of course. I corrected that and was sure this would fix the problem,
but it did not. After restarting named I got the same result.

bash-2.05# /etc/init.d/inetsvc stop
bash-2.05# /etc/init.d/inetsvc start
Setting netmask of dmfe0 to 255.255.255.0
Setting netmask of dmfe1 to 255.255.255.248
starting internet domain name server.
Setting default IPv4 interface for multicast: add net 224.0/4: gateway
merkur

bash-2.05# nslookup merkur
*** Can't find server name for address 192.168.1.1: No response from
server
*** Default servers are not available

I looked into /var/log/syslog and was wondering why named does not
output anything to the system log. If I remember correctly it used to
at least say "I have been started" or the like. But there is nothing.
However, named is running after "inetsvc start". Here is my current
config.

/etc/hosts:
domain smartsoft-hl.de
search smartsoft-hl.de
nameserver 192.168.1.1

/etc/nsswitch.conf:
hosts: dns files

/etc/named.conf:
acl local_network
{
         192.168.1/24;
};

options
{
         directory "/var/named";
         pid-file "named.pid";
};

zone "." in {
         type hint;
         file "named.ca";
};

zone "0.0.127.in-addr.arpa"
{
         type master;
         file "named.local";
         notify no;
};

zone "smartsoft-hl.de"
{
         type master;
         file "smartsoft-hl.de.db";
         notify yes;
};

zone "1.168.192.in-addr.arpa"
{
         type master;
         file "smartsoft-hl.de.rev";
};

/var/named/smartsoft-hl.de.rev:

$TTL 3h
1.168.192.in-addr.arpa. IN SOA smartsoft-hl.de.
hostmaster.smartsoft-hl.de.
(
                         2004111209 ; serial
                         10800 ; refresh
                         1800 ; retry
                         1209600 ; expiry
                         604800 ; weekly expiration
)

1.168.192.in-addr.arpa. IN NS smartsoft-hl.de.
1.1.168.192.in-addr.arpa. IN PTR merkur.smartsoft-hl.de.
2.1.168.192.in-addr.arpa. IN PTR venus.smartsoft-hl.de.
3.1.168.192.in-addr.arpa. IN PTR earth.smartsoft-hl.de.
4.1.168.192.in-addr.arpa. IN PTR mars.smartsoft-hl.de.
5.1.168.192.in-addr.arpa. IN PTR
jupiter.smartsoft-hl.de.
6.1.168.192.in-addr.arpa. IN PTR saturn.smartsoft-hl.de.

Any more ideas? I have DNS running on teo Solaris 8 machines. I have no
clue why thsi doe snot work on this one (Solaris 9).

Thanks a lot!

Regards,

   Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:25 EDT