The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS can't get out

Discussion in 'Bind / DNS / Nameserver Issues' started by tekman, Aug 7, 2007.

  1. tekman

    tekman Registered

    Joined:
    Aug 3, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    I can not ping or nslookup any sites that are not on the server. I am also only able to access some of my domains from the web and some I can not.

    weathersrentalproperties.com is one that I can not access.

    __________________________________

    Here is my named.conf

    include "/etc/rndc.key";

    controls {
    inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
    };

    options
    {
    /* make named use port 53 for the source of all queries, to allow
    * firewalls to block all ports except 53:
    */
    query-source port 53;
    recursion no;

    // Put files that named is allowed to write in the data/ directory:
    directory "/var/named"; // the default
    dump-file "data/cache_dump.db";
    statistics-file "data/named_stats.txt";
    memstatistics-file "data/named_mem_stats.txt";
    };

    logging
    {
    /* If you want to enable debugging, eg. using the 'rndc trace' command,
    * named will try to write the 'named.run' file in the $directory (/var/named).
    * By default, SELinux policy does not allow named to modify the /var/named directory,
    * so put the default debug log file in data/ :
    */
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };

    // All BIND 9 zones are in a "view", which allow different zones to be served
    // to different types of client addresses, and for options to be set for groups
    // of zones.
    //
    // By default, if named.conf contains no "view" clauses, all zones are in the
    // "default" view, which matches all clients.
    //
    // If named.conf contains any "view" clause, then all zones MUST be in a view;
    // so it is recommended to start off using views to avoid having to restructure
    // your configuration files in the future.


    view "external"
    {
    // match-clients { !any; };
    // match-destinations { !any; };

    recursion no;


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


    // These are your "authoritative" external zones, and would probably
    // contain entries for just your web and mail servers:

    // BEGIN external zone entries


    zone "mcraonline.net" {
    type master;
    file "/var/named/mcraonline.net.db";
    };


    zone "rentcompanies.com" {
    type master;
    file "/var/named/rentcompanies.com.db";
    };


    zone "weathersrentalproperties.com" {
    type master;
    file "/var/named/weathersrentalproperties.com.db";
    };
    };

    __________________________________________________

    here is my weathersrentalproperties.com.db

    ; Modified by Web Host Manager
    ; Zone File for weathersrentalproperties.com
    $TTL 14400
    @ 86400 IN SOA ns1.rentcompanies.com. tekman.tekmanproductions.com. (
    2007080705
    86400
    7200
    3600000
    86400
    )

    weathersrentalproperties.com. 86400 IN NS ns1.rentcompanies.com.
    weathersrentalproperties.com. 86400 IN NS ns.host4u.net.


    weathersrentalproperties.com. 14400 IN A 66.0.134.180

    localhost.weathersrentalproperties.com. 14400 IN A 127.0.0.1

    weathersrentalproperties.com. 14400 IN MX 0 weathersrentalproperties.com.

    mail 14400 IN CNAME weathersrentalproperties.com.
    www 14400 IN CNAME weathersrentalproperties.com.
    ftp 14400 IN A 66.0.134.180
    demo 14400 IN CNAME 66.0.134.180

    ________________________________

    I appreciate the help in advance.
     
  2. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    Hello,

    This issue is due to the multiple view configuration within named.conf.

    Can you submit a ticket so we can get some information from the server so we can attempt to get this resolved as it is appearing quite often on newer servers.
     
    #2 ToddShipway, Aug 7, 2007
    Last edited: Aug 7, 2007
  3. tekman

    tekman Registered

    Joined:
    Aug 3, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Ticket has been submitted. Number is XXX785. Let me know if you have any questions.

     
  4. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX
    Thanks! :)
     
Loading...

Share This Page