Please read the error message *carefully*. ns1.mail.lab.example.com.lab.example.com != ns1.mail.lab.example.com.
You are missing a terminating period on the MX record. Mark In message <pn1pr01mb038124567f7a52d927b9d1f181...@pn1pr01mb0381.indprd01.prod. OUTLOOK.COM>, Harshith Mulky writes: > Hello Experts, > > > Whats wrong with my second $ORIGIN here: > > > $ORIGIN lab.example.com. > $TTL 1d > @ IN SOA colombo root.lab.example.com. ( > 2003022720 ; Serial > 56800 ; Refresh > 14400 ; Retry > 3600000 ; Expire > 2h ) ; Min > > ;NS Records > @ IN NS ns1.lab.example.com. > @ IN NS ns2.lab.example.com. > mail IN NS ns1.mail.lab.example.com > > ;A Records > ns1 IN A 192.0.2.123 > ns2 IN A 192.0.2.124 > > $ORIGIN mail.lab.example.com. > ns1 IN A 192.0.2.155 > > > > > > When I try this > > > named-checkzone lab.example.com lab.example.zone > 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) > zone lab.example.com/IN: loaded serial 2003022720 > OK > > > > named-checkzone is saying it is fine > > > But why do I get error/warning like > > > 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) > > > > My Bind version is: bind-9.9.5P1-2.2.2.x86_64 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users