Discussion:
Bind9.16 zone SOA record issue.
Thomas Strike
2021-05-23 14:24:28 UTC
Permalink
I've been pounding my head over this issue all day with no results.

I am hosting Bind9.16 on a Ubuntu 20.04 server.

I have several zone records that report the same problem but I also have
several zoned that are configured with this same template and run okay
on the server. I've surfed the Internet for any clues and tried
everything I can think of but cannot get rid of this problem.
I really would appreciate any help I can get.

ZONE FILE:
$ttl 3600
ORIGIN ancienttom.us.
@        IN     SOA     ancienttom.us. thomas\.strike.sleepyvalley.net. (
                        1588097734
                        1200
                        600
                        86400
                        3600 )
ancienttom.us.                               1H        IN
NS              ns1.Sleepyvalley.net.
ancienttom.us.                               1H        IN
NS              ns2.Sleepyvalley.net.
ancienttom.us.                                           IN
A                   51.222.143.198
ns1.ancienttom.us.                                     IN
A                   51.222.143.198
ns2.ancienttom.us.                                     IN
A                   51.222.143.198
www.ancienttom.us.                                   IN
A                   51.222.143.198
ftp.ancienttom.us.                                      IN
A                   51.222.143.198
mailadmin.ancienttom.us.                          IN A                  
51.222.143.198
ancienttom.us.                               1H        IN MX          10
mx.mydomain.com.
mail.ancienttom.us.                                    IN
A                   66.96.163.96
smtp.ancienttom.us.                                   IN
A                   66.96.163.96

When I run named-checkzone I get 'unknown RR type 'ancienttom.us.'

My named.log shows;
22-May-2021 23:57:05.819 zoneload: error: zone ancienttom.us/IN: has 0
SOA records
22-May-2021 23:57:05.819 zoneload: error: zone ancienttom.us/IN: has no
NS records
22-May-2021 23:57:05.819 zoneload: error: zone ancienttom.us/IN: not
loaded due to errors.


_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-***@lists.isc.org
https://lists.isc.
Ondřej Surý
2021-05-23 14:27:52 UTC
Permalink
$ORIGIN ancienttom.us.

?

--
Ondřej Surý — ISC (He/Him)

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.
Post by Thomas Strike
ORIGIN ancienttom.us.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-***@lists.isc.
Sten Carlsen
2021-05-23 15:15:14 UTC
Permalink
Post by Thomas Strike
$ttl 3600
ORIGIN ancienttom.us <http://ancienttom.us/>.
@ IN SOA ancienttom.us <http://ancienttom.us/>. thomas\.strike.sleepyvalley.net <http://strike.sleepyvalley.net/>. (
The "\" above is what I would suspect. I could be wrong.
Post by Thomas Strike
1588097734
1200
600
86400
3600 )
Ondřej Surý
2021-05-23 15:27:35 UTC
Permalink
Nope, that’s how you enter email to SOA with dot in user part as the first dot gets converted to @.

--
Ondřej Surý — ISC (He/Him)

My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.
Post by Sten Carlsen
The "\" above is what I would suspect. I could be wrong.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.


bind-users mailing list
bind-***@lists.isc.org
https
Grant Taylor via bind-users
2021-05-23 16:48:03 UTC
Permalink
Nope, that’s how you enter email to SOA with dot in user part as
#TodayIlearned

I agree with Ondřej. I think it's the missing $ in front of ORIGIN.

Remember the $<bla> lines are directives to BIND and not zone data.
ORIGIN without the leading $ would be zone data.
--
Grant. . . .
unix || die
Loading...