LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   HELP! DNS errors (https://www.linuxquestions.org/questions/linux-general-1/help-dns-errors-3366/)

katana 06-13-2001 07:31 PM


HELP!
my dns server is up and running,in a sense that it could answer queries and all...but then when i checked the var/log/messages, there were tons of error messages there!! I noticed a lot of this message:

named.local:1: database naming error named.local:2: Database error ()
AND
mail name "root.example.edu.example. (.0.0.127.in-addr.arpa" (owner "0.0.127.in-addr.arpa") IN (primary) is invalid-rejecting...
AND
master zone "0.0.127.in-addr.arpa" (IN) rejected due to errors (serial 0)
AND
Zone "1.100.10.in-addr.arpa" (file internal.rev): no SOA RR found

..anybody got a hint about how to fix this??I've checked for missing dots,but so far could find none,and btw and i'm using BIND version 8.2-1.



....i'm at my wits' end here..

mcleodnine 06-14-2001 01:23 AM

You should REALLY have a look at installing bind 8.2.3. (nag, nag, nag...)

Can you post you named.conf and zone files? (For your own benefit please replace actual IP and names.)

At first it looks like you have a LEADING dot on ".0.0.127...".

You have no SOA record for your private internal network. Did you start your 'internal.rev' zone file with an 'IN SOA' record?

The event master zone "0.0.127.in-addr.arpa" (IN) rejected due to errors (serial 0) is due to the fact that you need a serail identifier of at least 1. (Did you get around to reading the online book?)

On the first lin it looks like you're trying to use something in the global options section... maybe pointing the directory to 'named.local'???

Have a look and post some inf.

Cheers,
D.

katana 06-14-2001 01:51 AM

HI ALL!!
Thanks a lot mcleodnine, for the advice and all! I've done what you've advised me to do, but to no avail. Then suddenly, i noticed something in my SOA record:

@ IN SOA internal.example.edu.my root.internal.example.edu.my.(

and i added a space before the ( :

@ IN SOA internal.example.edu.my root.internal.example.edu.my. (

..and guess what?? voila!! I felt like pounding the keyboard,it was so frustating ;)I'm sorry for bothering you all with such a silly mistake...but then nobody has ever told me about that space before the ( ?? Nothing about it on the net either,but then, maybe i should have known myslef.

THANKS a lot :)

mcleodnine 06-14-2001 02:15 AM

np.

Now go out and get named 8.2.3 and learn how to run it chroot-ed.


All times are GMT -5. The time now is 01:32 PM.