Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Bind DNS Server seems to be limited to 50 hosts

Posted on 2004-11-01
2
Medium Priority
?
334 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
Comment
Question by:zaneyfunster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 1500 total points
ID: 12478732
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
ID: 12742965
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

610 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