Bind DNS Server seems to be limited to 50 hosts

Posted on 2004-11-01
Last Modified: 2013-12-16
I'm running a minimal install of redhat 9 with Bind 8 and webmin (for the customer) as a dns server. (times 2 in two locations)

Currently we have 50 domain names held here, but when I went to add number 51, this domain would not transfer to the slave DNS server, nor can I dig that domain..

I have tried increasing the maximum open files setting, the maximum data memory usage etc. etc. but with no result..

In the log files there is the following:-

Nov  1 14:14:42 ns1 named[1163]: zone loading master file /var/named/ unexpected end of input
Nov  2 12:03:20 ns1 named[1163]: dns_rdata_fromtext: /var/named/ near eol: unexpected end of input

All existing domains are still working fine and I'm sure I've missed something simple.

Question by:zaneyfunster
    LVL 40

    Accepted Solution

    This isn't a matter of the open files limit, but rather a problem with /var/named/ At or around line 13 of that file there's an error that is the cause of the problem. If you post the contents of that file we should be able to tell you what's wrong with it.
    LVL 2

    Author Comment

    Hey jlevie..

    I'm really sorry about the delay, I've been overseas...

    Yes you are correct..
    I was using Webmin to generate the hosts files and something had gone wrong, it was creating a really dodgy MX record on line 13.

    I manually created a host file, and it worked, re-installed webmin and it is now back to normal and working fine.

    I should have spotted the problem but at the time I was in a state of panic ;o)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    846 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

    10 Experts available now in Live!

    Get 1:1 Help Now