Find the answer to your Linux question:
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 25 of 25
[root@poirot var]# cat /etc/named.conf // // named.conf for Red Hat caching-nameserver // options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; forwarders { 10.0.0.1; }; /* * If there is a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21
    Just Joined!
    Join Date
    Apr 2005
    Location
    Lucasvile, OH
    Posts
    19

    named.conf


    [root@poirot var]# cat /etc/named.conf
    //
    // named.conf for Red Hat caching-nameserver
    //

    options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders {
    10.0.0.1;
    };

    /*
    * 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;
    };

    //
    // debug logging
    //
    logging {
    //Syslog messages only contain info
    channel sys_log {
    syslog daemon;
    severity info;
    };
    //Create log file for logging messages
    channel log_file {
    file "/var/named/log/named.msgs";
    severity dynamic;
    };

    category default { log_file; };
    category queries { log_file; };
    };

    //
    // a caching only nameserver config
    //
    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndckey; };
    };

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

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

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

    //local DNS
    zone "ziklag.net" IN {
    type master;
    file "db.ziklag.net";
    };

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

    zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 .0.0.0.0.0.0.ip6.arpa" IN {
    type master;
    file "named.ip6.local";
    allow-update { none; };
    };

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

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

    //local DNS
    zone "10.in-addr.arpa" IN {
    type master;
    file "db.10";
    };

    include "/etc/rndc.key";

  2. #22
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    You didn't try to touch the named.msgs file or anything did ya?

    Also, I want to see the results for the following commands.

    service named stop
    named -u named -t /var/named/chroot -g
    service named start

    The second command starts BIND in the foreground and dumps diagnostics to screen, so you will need to press Control+C when it says "running" within the messages.

  3. #23
    Just Joined!
    Join Date
    Apr 2005
    Location
    Lucasvile, OH
    Posts
    19

    Command results

    I didn't touch the named.msgs file.

    I ran the commands you requested. No results. Nothing to console. Nothing in the messages file, not even the errors I was getting before. I left it up all night just to be sure.

  4. #24
    Linux Newbie
    Join Date
    Mar 2005
    Posts
    230
    I just ran that exact command on my system through ssh and it spewed a ton of information to screen. You are using ssh or physical access to run these commands right? If so, then something else must be screwed up. Maybe BIND needs to be reinstalled, maybe redhat needs to be reinstalled. I don't know, but these handicaps are preventing me from helping you.

  5. #25
    Just Joined!
    Join Date
    Apr 2005
    Location
    Lucasvile, OH
    Posts
    19

    Thanks

    I was thinking about re-installing BIND. Perhaps something got corrupted in download/install. At any rate, I won't go back to the CD, I will find one on the net.

    Thanks for all yoiur help. We'll call this topic closed for now and I'lll open a new one if problem persists.

    Thanks again! :P

Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

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