<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello Experts,</p>
<p><br>
</p>
<p>Whats wrong with my second $ORIGIN here:</p>
<p><br>
</p>
<p></p>
<div>$ORIGIN lab.example.com.<br>
$TTL 1d<br>
@ IN SOA colombo root.lab.example.com. (<br>
2003022720 ; Serial<br>
56800 ; Refresh<br>
14400 ; Retry<br>
3600000 ; Expire<br>
2h ) ; Min<br>
<br>
;NS Records<br>
@ IN NS ns1.lab.example.com.<br>
@ IN NS ns2.lab.example.com.<br>
mail IN NS ns1.mail.lab.example.com<br>
<br>
;A Records<br>
ns1 IN A 192.0.2.123<br>
ns2 IN A 192.0.2.124<br>
<br>
$ORIGIN mail.lab.example.com.<br>
ns1 IN A 192.0.2.155</div>
<p></p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>When I try this</p>
<p><br>
</p>
<p></p>
<div>named-checkzone lab.example.com lab.example.zone<br>
zone lab.example.com/IN: mail.lab.example.com/NS 'ns1.mail.lab.example.com.lab.example.com' has no address records (A or AAAA)<br>
zone lab.example.com/IN: loaded serial 2003022720<br>
OK</div>
<p></p>
<p><br>
</p>
<p><br>
</p>
<p>named-checkzone is saying it is fine</p>
<p><br>
</p>
<p>But why do I get error/warning like <br>
</p>
<p><br>
</p>
<p><span><b>zone lab.example.com/IN: mail.lab.example.com/NS 'ns1.mail.lab.example.com.lab.example.com' has no address records (A or AAAA)</b></span></p>
<p><span><b><br>
</b></span></p>
<p><span><b><br>
</b></span></p>
<p><span><b>My Bind version is: <span>bind-9.9.5P1-2.2.2.x86_64</span></b></span><br>
</p>
<p><br>
</p>
</div>
</body>
</html>