<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 11/9/2011 4:59 PM, trm asn wrote:
<blockquote
cite="mid:CACZSWMoFj7pvQ287YfhFG6OLOz0nA4OawvjeGdPONk_95_Rf-w@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Wed, Nov 9, 2011 at 3:15 PM, Matus
UHLAR - fantomas <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Now I have only one question:
<div class="im"><br>
<br>
On 08.11.11 20:27, trm asn wrote:<br>
</div>
<div class="im">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
The moment I have done the "rndc reload <a
moz-do-not-send="true" href="http://example.com"
target="_blank">example.com</a>", the domain and all<br>
subdomain were became not resolvable.<br>
</blockquote>
<br>
</div>
what does the named's log say?
<div class="im"><br>
-- <br>
</div>
</blockquote>
</div>
<br>
Is there any thing wrong if I declare my zone like this as
below...<br>
<br>
$TTL 300<br>
@ IN SOA <a moz-do-not-send="true"
href="http://ns4.example.com/" target="_blank">ns4.example.com</a>.
<a moz-do-not-send="true" href="http://postmaster.example.com/"
target="_blank">postmaster.example.com</a>. (<br>
2011110806 ; Serial Number<br>
<div> 10800 ; Refresh
after 3 hours<br>
3600 ; Retry after 1
hour<br>
604800 ; Expire after 1
week<br>
300 ) ; Minimum TTL of 1
day<br>
; Name servers<br>
IN NS <a moz-do-not-send="true"
href="http://ns4.example.com/" target="_blank">ns4.example.com</a>.<br>
IN NS <a moz-do-not-send="true"
href="http://ns2.example.com/" target="_blank">ns2.example.com</a>.<br>
IN NS <a moz-do-not-send="true"
href="http://ns1.example.com/" target="_blank">ns1.example.com</a>.<br>
<b>test IN NS <a moz-do-not-send="true"
href="http://ns1973.hostgator.com/" target="_blank">ns1973.hostgator.com</a>.<br>
test IN NS <a moz-do-not-send="true"
href="http://ns1974.hostgator.com/" target="_blank">ns1974.hostgator.com</a>.</b><br>
IN A 203.39.45.19<br>
IN MX <a moz-do-not-send="true"
href="http://mail.goole.com/" target="_blank">mail.goole.com</a>.<br>
www IN CNAME <a moz-do-not-send="true"
href="http://example.com/" target="_blank">example.com</a>.<br>
a IN A 203.39.45.20<br>
b IN A 203.39.45.21<br>
<br>
</div>
</blockquote>
Yeah, that's likely to be a problem. Those "test" lines have
(inadvertantly?) renamed an A record and your MX record from the
name "example.com" to the name "test.example.com", and then "hid"
them under the delegation for test.example.com (since all non-glue
records are served from the child zone, not the parent; those
records would only be visible on a zone transfer).<br>
<br>
Hopefully you understand that in master-zone syntax, leading
whitespace "inherits" the last non-whitespace owner name. That's why
those 2 records got implicitly renamed, since putting an owner name
of "test" above them caused them to inherit that name instead of
"@". As a general rule, you want to put all of your apex records at
the top of the zone file, and add new stuff at the end of the zone
file, so as to completely avoid such whitespace-inheritance
"accidents".<br>
<br>
- Kevin<br>
</body>
</html>