Named.conf Include Limitations?

Posted on 2010-01-08
Last Modified: 2013-12-15
Hi All,

I am running DirectAdmin Web Console and I have about 20,000 sub-domains all linking off of the same site. (using Apache virtual hosts)

The short of the story is that I backed up all of our data (19,000) accounts and with sub-domains off of the name domain.

All of these domains are linked in etc/named.conf as includes and the public URLs are resolving properly. The problem is - now that I have those in, and I add new users (adding another include line in named.conf) it won't resolve those new sub domains.

After each user is added I am restarting HTTPD, NAMED, etc and they are both restarting properly, with no errors in /var/log and no errors doing a CONFIGTEST.

Once reloaded - I can ping the sites, ie locally on the box and it resolves but for some reason the public URL is not resolving and by doing an NSLOOKUP from an external computer it won't resolve there either.

Anyone have any ideas what might be causing this? Is there a file size limitation I need to change?

I am running CENTOS 5.2, BIND 9, Apache 2,0

Edit here is a snippet of my Named.conf file - which is working, except for the newly added includes...
// generated by

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;

        allow-transfer { none; };

        allow-recursion { localnets; };



// a caching only nameserver config


controls {

        inet allow { localhost; } keys { rndckey; };


zone "." IN {

        type hint;

        file "";


zone "localhost" IN {

        type master;

        file "";

        allow-update { none; };


zone "" IN {

        type master;

        file "named.local";

        allow-update { none; };


include "/etc/rndc.key";

zone "" { type master; file "/var/named/"; };

zone "" { type master; file "/var/named/"; };

zone "" { type master; file "/var/named/"; };

zone "" { type master; file "/var/named/"; };

zone "" { type master; file "/var/named/"; };

zone "" { type master; file "/var/named/"; };

Open in new window

Question by:Maricopa-IT
    1 Comment
    LVL 1

    Accepted Solution

    by: shows a couple of minor problems, but you zone is resolving externally just fine. also shows some minor things, but resolves from outside.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now