<html><head><title>Re: How Zone Files Are Read</title>
<meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">This isn't, IMO, very useful as a response to the OP.<br>
<br>
To sum up the response; "It's better to never fail!"<br>
<br>
Yes, that seems pretty obvious. It *would* be better to never fail. Way, way better.<br>
But the big problem in life is; We're always failing! Dammit!<br>
<br>
So, learning how to gracefully fail, and understanding what happens and why, when something fails, is pretty important to achieve the outcome of; "Not failing quite so catastrophically."<br>
<br>
So, while I don't have helpful knowledge to impart to the OP, I think I can say that giving the advice of "don't fail" doesn't seem very helpful.<br>
<br>
<br>
<br>
<br>
<br>
<span style=" color: #800000;"><b>RH> Am 16.12.20 um 17:37 schrieb Tim Daneliuk:<br>
>> I ran into a situation yesterday which got me pondering something about bind.<br>
<br>
>> In this case, a single line in a zone file was bad.  The devops automation<br>
>> had inserted a space in the hostname field of a PTR record.<br>
<br>
>> What was interesting was that - at startup - bind absolutely refused<br>
>> to load the zone file at all.  I would have expected it to complain<br>
>> about the bad record and ignore it, but load the rest of the<br>
>> good records.<br>
<br>
>> Can someone please explain the rationale or logic for this?  Not complaining,<br>
>> just trying to understand for future reference.<br>
<br>
RH> it's better not load a invalid zone on a single nameserver at all as you<br>
RH> are supposed to have at least two nameservers and the second one won't<br>
RH> get the failure via master/slave replication<br>
<br>
RH> if it has an error something is wrong<br>
RH> if the last version had no error that version is good<br>
<br>
RH> for the world *everything* still is good as long there is one slave -<br>
RH> subtle errors can lead to completly unexpected behavior<br>
RH> _______________________________________________<br>
RH> Please visit </b></span></span><a style=" font-family:'courier new'; font-size: 9pt;" href="https://lists.isc.org/mailman/listinfo/bind-users">https://lists.isc.org/mailman/listinfo/bind-users</a><span style=" font-family:'courier new'; font-size: 9pt; color: #800000;"><b> to unsubscribe from this list<br>
</body></html>