DNS problem on Solaris 9

From: Andreas Höschler (ahoesch@smartsoft.de)
Date: Sun Sep 12 2004 - 06:19:22 EDT


Dear managers,

I have setup DNS on a Solaris 9 machine and somehow ruined the config.
Now I get:

bash-2.05# nslookup merkur
*** Can't find server name for address 192.168.1.1: Non-existent
host/domain
*** Default servers are not available

I am clueless and have no idea where to look at. What could be wrong
with this config (attached)?

Thanks a lot!

Regards,

   Andreas

BTW: What's the command on Solaris for a reverse lookup? If I have an
IP-address and would like to check whether the dns is able to find a
corresponding hostname?

**********************************************************
/etc/nsswitch.conf;

        hosts: files dns

/etc/hosts:

        127.0.0.1 localhost
        192.168.1.1 merkur loghost

/etc/named.conf:
...
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";
         notify no;
};
...

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

$TTL 3h
smartsoft-hl.de. IN SOA merkur.smartsoft-hl.de.
ahoesch.smartsoft-hl.de. (
                         2004111205 ; serial
                         10800 ; refresh
                         1800 ; retry
                         1209600 ; expiry
                         604800 ; weekly expiration
)

smartsoft-hl.de. IN NS merkur.smartsoft-hl.de.
smartsoft-hl.de. IN MX 10 merkur.smartsoft-hl.de.

merkur IN A 192.168.1.1
venus IN A 192.168.1.2
earth IN A 192.168.1.3
mars IN A 192.168.1.4
jupiter IN A 192.168.1.5
saturn IN A 192.168.1.6

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

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

1.168.192.in-addr.arpa. IN NS smartsoft-hl.de.
1.168.192.in-addr.arpa. IN PTR merkur.smartsoft-hl.de.
2.168.192.in-addr.arpa. IN PTR venus.smartsoft-hl.de.
3.168.192.in-addr.arpa. IN PTR earth.smartsoft-hl.de.
4.168.192.in-addr.arpa. IN PTR mars.smartsoft-hl.de.
5.168.192.in-addr.arpa. IN PTR jupiter.smartsoft-hl.de.
6.168.192.in-addr.arpa. IN PTR saturn.smartsoft-hl.de.
_______________________________________________
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