What is wrong with my second $ORIGIN
Mark Andrews
marka at isc.org
Thu Sep 14 07:16:46 UTC 2017
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 <PN1PR01MB038124567F7A52D927B9D1F1816F0 at 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: marka at isc.org
More information about the bind-users
mailing list