Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    85

    Question named.conf strange error

    Hi guys,

    That's what I am getting when I am starting named:

    Error in named configuration:
    /etc/named.conf:107: when using 'view' statements, all zones must be in views

    Actually I even don't have such string in the named.conf file, but I understand the meaning of 'view'.
    Here is what I have:

    options {
    directory "/var/named";

    // Uncommenting this might help if you have to go through a
    // firewall and things are not working out. But you probably
    // need to talk to your firewall admin.

    // query-source port 53;
    };

    controls {
    inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
    };

    zone "tonebooks.com" {
    type master;
    file "/var/named/my-domain"; };



    So there is no string 107.. no matter what I'm doing but it still claiming that error in string 107 of the named.conf which isn't exist.

    Looking for advice,
    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    State College, PA USA
    Posts
    370
    I think you're missing a semi-colon after "allow { localhost; }" -- believe it should be "allow { localhost; };"

    Note that given that the files are likely 'included' in other files, line numbers that errors report on will probably be misleading.

    Best,
    Dave
    Cheap VPS Hosting with minimum 99.9% SLA.
    State College, PA VPS Hosting

Similar Threads

  1. DNS issues rndc.conf & named.conf
    By zooserve in forum Hosting Security and Technology
    Replies: 5
    Last Post: 04-09-2009, 02:29 AM
  2. [HELP] named.conf error
    By kingdolar in forum Hosting Security and Technology
    Replies: 2
    Last Post: 08-28-2008, 05:11 PM
  3. where is /etc/named.conf?
    By olddocks in forum Hosting Security and Technology
    Replies: 9
    Last Post: 06-01-2008, 05:09 AM
  4. httpd.conf, named.conf protection
    By Bambuk in forum Web Hosting
    Replies: 11
    Last Post: 04-11-2005, 02:31 PM
  5. named.conf | error
    By Fremont Servers in forum Hosting Security and Technology
    Replies: 1
    Last Post: 04-25-2002, 01:25 AM

Posting Permissions

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