DNS problem on Solaris 9

From: Andreas Höschler (ahoesch_at_smartsoft.de)
Date: 09/12/04

  • Next message: Andreas Höschler: "DNS problem on Solaris 9"
    Date: Sun, 12 Sep 2004 12:19:22 +0200
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Andreas Höschler: "DNS problem on Solaris 9"

    Relevant Pages

    • SUMMARY: Solaris 8 Postfix SMTP Gateway and Postfix Mailserver
      ... postfix config problem. ... That you make entries in /etc/hosts for gateway and mailserver with both ... from OpenWebMail to a domain or local user on the same server it will not be ... No I know that this is not a special Solaris 8 question but I don't know if ...
      (SunManagers)
    • Re: Samba problem
      ... I am trying to set up Samba in a Solaris 10 system. ... Server role: ROLE_STANDALONE ... you could look for the missing files and then update your config file accordingly. ...
      (comp.unix.solaris)
    • DNS problem on Solaris 9
      ... I am back at my Solaris 9 server and still had no luck getting DNS to ... I have a very similary configured Solaris 8 box that works. ... ;; res_nmkquery(QUERY, 1.1.168.192.in-addr.arpa, IN, PTR) ...
      (SunManagers)
    • Re: NTP config
      ... > I need config my servers to keep same sync their clocks, ... > NTP server working (Solaris). ... Easy for just a server config. ...
      (AIX-L)
    • Remote Login to Server
      ... solaris, no ip config etc. its got no keyboard mouse or monitor. ... serial port and cable and booting the server from cd rom. ...
      (comp.unix.solaris)