diff options
author | Ben Sima <ben@bsima.me> | 2023-10-10 13:15:59 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2023-10-10 13:15:59 -0400 |
commit | 904de577261e7024373e7a42fd763184764238f9 (patch) | |
tree | 563e4968eab568466ae3e7a1c747dd24a77986c0 /Biz/Dev/Home.zone | |
parent | 6107f8178e26ada67e5d5ec60501e24528b3db56 (diff) |
Don't swallow namespace-parsing errors
Previously, if there was a problem with the inputs and bild failed to
determine the namespace, 'fromPath' would return 'Nothing' and then
'catMaybes' would drop the error-causing input altogether. In the one
time that I had a bad input, this made debugging incredibly difficult.
It's always a bad idea to swallow errors silently, so instead lets just
kill the program if we have bad inputs.
Diffstat (limited to 'Biz/Dev/Home.zone')
-rw-r--r-- | Biz/Dev/Home.zone | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Biz/Dev/Home.zone b/Biz/Dev/Home.zone deleted file mode 100644 index 86d4919..0000000 --- a/Biz/Dev/Home.zone +++ /dev/null @@ -1,23 +0,0 @@ -;$TTL 3D -;@ IN SOA home. hostmaster ( -; 1 ; serial -; 8H ; refresh -; 2H ; retry -; 4W ; expire -; 1D) ; min ttl -; IN NS ns.home. -;home. IN A 192.168.0.196 -;router IN A 192.168.0.196 -; -$TTL 1D -@ IN SOA ns.home. hostmaster ( - 3 ; Serial - 604800 ; Refresh - 86400 ; Retry - 2419200 ; Expire - 604800 ) ; Minimum -@ IN NS ns. ; Name Server for the domain -@ IN A 192.168.0.196 ; -example.com. IN A 192.168.0.1 ; test -router IN A 192.168.0.1 ; IP address for 'router' -lithium IN A 192.168.0.196 ; my dev server |