Professional Web Applications Themes

Setting up a zone in Macos 10.3 - Mac Networking

Hello After setting up a first zone and restarting named, the installed domain doesn't answer to ping requests. Macos 10.3 runs BIND 9.2.2 What's wrong in these files ? $ cat /etc/named.conf // Declares control channels to be used by the rndc utility. // It is recommended that 127.0.0.1 be the only address used. // This also allows non-privileged users on the local host to manage // your name server. // controls { inet 127.0.0.1 port 54 allow {any; }; }; options { directory "/var/named"; /* * If there is a firewall between you and nameservers you want * to ...

  1. #1

    Default Setting up a zone in Macos 10.3

    Hello

    After setting up a first zone and restarting named, the installed domain
    doesn't answer to ping requests.
    Macos 10.3 runs BIND 9.2.2

    What's wrong in these files ?

    $ cat /etc/named.conf
    // Declares control channels to be used by the rndc utility.
    // It is recommended that 127.0.0.1 be the only address used.
    // This also allows non-privileged users on the local host to manage
    // your name server.
    //
    controls {
    inet 127.0.0.1 port 54 allow {any; };
    };

    options {
    directory "/var/named";
    /*
    * If there is a firewall between you and nameservers you want
    * to talk to, you might need to uncomment the query-source
    * directive below. Previous versions of BIND always asked
    * questions using port 53, but BIND 8.1 uses an unprivileged
    * port by default.
    */
    // query-source address * port 53;
    };

    //
    // a caching only nameserver config
    //
    zone "." IN {
    type hint;
    file "named.ca";
    };

    zone "localhost" IN {
    type master;
    file "localhost.zone";
    allow-update { none; };
    };

    zone "0.0.127.in-addr.arpa" IN {
    type master;
    file "named.local";
    allow-update { none; };
    };

    zone "test.local" {
    type master;
    file "test.local.zone";
    };



    $ cat /var/named/test.local.zone
    $TTL 86400
    $ORIGIN test.local.
    1D IN SOA localhost. root (
    42 ; serial (d. adams)
    3H ; refresh
    15M ; retry
    1W ; expiry
    1D ) ; minimum

    1D IN NS localhost.
    1D IN A 127.0.0.1
    * 1D IN A 127.0.0.1



    $ grep DNS /etc/hostconfig
    DNSSERVER=-YES-


    $ cat /var/run/named.pid
    295

    $ ping test.local
    ping: unknown host test.local


    Thank you for your help
    Jerome Guest

  2. #2

    Default Re: Setting up a zone in Macos 10.3

    In article <408e429c$0$22859$free.fr>,
    Jerome <com> wrote:
     

    The files you posted looked OK. Does /etc/resolv.conf contain
    "nameserver 127.0.0.1"?

    Are there any error messages from "named" in /var/log/system.log?

    --
    Barry Margolin, mit.edu
    Arlington, MA
    *** PLEASE post questions in newsgroups, not directly to me ***
    Barry Guest

  3. #3

    Default Re: Setting up a zone in Macos 10.3

    Barry Margolin wrote:
     

    No. It is now added.
     

    After restarting the system (since I don't know how to apply changes in
    resolv.conf), yes:

    Apr 27 16:13:07 localhost ConsoleMessage: Starting named
    Apr 27 16:13:09 localhost SystemStarter: Starting named
    Apr 27 16:13:11 localhost named[320]: starting BIND 9.2.2
    Apr 27 16:13:11 localhost named[320]: using 1 CPU
    Apr 27 16:13:14 localhost named[320]: loading configuration from
    '/private/etc/named.conf'
    Apr 27 16:13:14 localhost named[320]: listening on IPv4 interface lo0,
    127.0.0.1#53
    Apr 27 16:13:14 localhost named[320]: listening on IPv4 interface en1,
    192.168.0.2#53
    Apr 27 16:13:15 localhost named[320]: none:0: open:
    /private/etc/rndc.key: file not found
    Apr 27 16:13:15 localhost named[320]: /private/etc/named.conf:7:
    couldn't install keys for command channel 127.0.0.1#54: file not found
    Apr 27 16:13:15 localhost named[320]: /private/etc/named.conf:7:
    couldn't add command channel 127.0.0.1#54: file not found
    Apr 27 16:13:16 localhost named[320]: zone 0.0.127.in-addr.arpa/IN:
    loaded serial 1997022700
    Apr 27 16:13:16 localhost named[320]: dns_master_load:
    test.local.zone:3: ignoring out-of-zone data (test.local)
    :pr 27 16:13:16 localhost named[320]: dns_master_load:
    test.local.zone:12: ignoring out-of-zone data (*.test.local)
    Apr 27 16:13:16 localhost named[320]: zone test.local/IN: could not find
    NS and/or SOA records
    Apr 27 16:13:16 localhost named[320]: zone test.local/IN: has 0 SOA records
    Apr 27 16:13:16 localhost named[320]: zone test.local/IN: has no NS records
    Apr 27 16:13:16 localhost named[320]: zone test.local/IN: loaded serial 42
    Apr 27 16:13:16 localhost named[320]: zone localhost/IN: loaded serial 42
    Apr 27 16:13:16 localhost named[320]: running



    What's wrong ???
    Jerome Guest

Similar Threads

  1. adjust time zone setting?
    By DanBeachMN in forum Coldfusion Server Administration
    Replies: 1
    Last Post: July 5th, 10:50 PM
  2. Dir 8.5 - MacOS 9.2 projector in MacOS X Classic
    By davepla in forum Macromedia Director Basics
    Replies: 0
    Last Post: March 4th, 08:30 AM
  3. Free FTP clients for MacOS 7.5.5 .. MacOS 9 ?
    By Rolf Hemmerling in forum Mac Networking
    Replies: 3
    Last Post: August 12th, 01:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139