LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Bind9 and persistant message (http://www.linuxquestions.org/questions/linux-server-73/bind9-and-persistant-message-617691/)

penguindeb 01-31-2008 10:45 AM

Bind9 and persistant message
 
Hi Guys,

I have Bind9 installed on Debian testing AMD64. It is running fine but, I all the time, get the message as followed when i check my two zones below.

named-checkzone macitos.fr db.macitos.fr.inv
named-checkzone macitos.fr db.127

"zone macitos.fr/IN: NS 'margoullat.macitos.fr' has no address records (A AAAA)"

I am just trying to understand why this message is popping up. I didn't have it before. It came up after i upgraded from etch to testing. Most of all, it doesn't stop Bind9 from running well. So if anyone could tell why and how to get rid of it, that would be much appreciated. I am adding my conf below. Please, feel free to point out my mistakes if you feel like it :)

db.macitos.fr

$TTL 7200
@ IN SOA margoullat.macitos.fr. leonidas.margoullat.fr. (
2008012300 ;
7200 ; Refresh
7200 ; Retry
2419200 ; Expire
7200 ) ; Minimum

@ NS margoullat.macitos.fr. ; Name of server
$ORIGIN macitos.fr.
margoullat A 192.168.1.7 ; IP address of the name server

localhost A 127.0.0.1
iguane A 192.168.1.8
margoullat A 192.168.1.6
margoullat A 192.168.1.7
zongo A 192.168.1.5
heaven A 192.168.1.10


perso CNAME zongo
ig CNAME iguane
mar CNAME margoullat


db.macitos.fr.inv

$TTL 7200
@ IN SOA margoullat.macitos.fr. leonidas.margoullat.fr. (
2008012300 ;Serial
7200 ; Refresh
7200 ; Retry
2419200 ; Expire
7200 ) ; Minimum

@ NS margoullat.macitos.fr.

8 PTR iguane.macitos.fr.
6 PTR margoullat.macitos.fr.
7 PTR margoullat.macitos.fr.
5 PTR zongo.macitos.fr.
10 PTR heaven.macitos.fr.



db.127

$TTL 7200
@ IN SOA margoullat.macitos.fr. leonidas.macitos. (
2008012300 ; Serial
7200 ; Refresh
7200 ; Retry
2419200 ; Expire
7200 ) ; Negative Cache TTL
;
@ IN NS margoullat.macitos.fr.
1 PTR localhost.

JimBass 01-31-2008 07:36 PM

The error message is because what you're asking for makes no sense. You're asking named-checkzone to look at a regular zone, by checking its reverse mapping. That's like asking if your backing a car up in a straight line while driving forward! If you want to check your reverse map (the file db.macitos.fr.inv), then you want to check the reverse zone, not the forward. The "correct" way to check your reverse zone (looking back at your previous post) would be:

Code:

named-checkzone 1.168.192.in-addr.arpa db.macitos.fr.inv
That asks for the reverse zone, and the file that contains it. Your way asks for the forward zone, by looking at the reverse. It tells you you lack an A record, because doing it your way, it looks for forward records in the reverse file, where no forward addresses are defined.

Peace,
JimBass

penguindeb 02-01-2008 03:22 AM

thanks, sometimes I make no sense at all :)


All times are GMT -5. The time now is 04:50 PM.