Solved

Bind DNS Server seems to be limited to 50 hosts

Posted on 2004-11-01
316 Views
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 example.com.au/IN: loading master file /var/named/example.com.au.hosts: unexpected end of input
Nov  2 12:03:20 ns1 named[1163]: dns_rdata_fromtext: /var/named/example.com.au.hosts:13: near eol: unexpected end of input


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

Cheers
Zaneyfunster
0
Question by:zaneyfunster
    2 Comments
     
    LVL 40

    Accepted Solution

    by:
    This isn't a matter of the open files limit, but rather a problem with /var/named/example.com.au.hosts. 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.
    0
     
    LVL 2

    Author Comment

    by:zaneyfunster
    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)

    Cheers
    Shane
    0

    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