Default servers are not available/Can't find server name for address - disaster after changing ip block
Joseph S D Yao
jsdy at cospo.osis.gov
Thu Sep 14 21:51:32 UTC 2000
On Thu, Sep 14, 2000 at 09:02:51PM +0100, Peter Rose wrote:
> Joseph,
>
> thanks for taking the time to look at this stuff. I hesitate to post
> tons of config files in a list unless really necessary!
>
> OK, here is named.conf extract:
All sorts of things wrong here.
I shall assume that you have whitespace before a naked "IN" and in
other places where you should, and that wrapped lines really are single
lines. Maybe I'll just mention this in passing.
I don't have your original problem in front of me. I'll have to look
and see if I can find it.
> // generated by named-bootconf.pl
...
> zone "100.195.141.63.in-addr.arpa"{
> type master;
> file "cyberscreen.reverse";
> };
...
> zone "100.195.141.63.in-addr.arpa"{
> type master;
> file "images.reverse";
> };
You can't have mutiple definitions for the same zone.
PLUS - don't you have the whole class C? You have, at least, 52-109.
If you have the whole class C, your zone is "195.141.63.in-addr.arpa".
> [rest of virtual host stuff follows ad infinitum:-)]
>
> then here is the cyberscreen.hosts file:
>
> cyberscreen.com. IN SOA ns1.cyberscreen.com.
> webmaster.cyberscreen.com. (
> 2000091301 ; Serial
> 10800 ;Refresh after 3 hours
> 3600 ;Retry after 1 hour
> 604800 ;Expire after 1 week
> 86400 ) ;Minimum TTL 1day
Comments about line joining and indentation should be obvious.
...
> =================================================
> and the corresponding cyberscreen.reverse
>
> 100.195.141.63.in-addr.arpa. IN SOA
> ns1.cyberscreen.com. webmaster.cyberscreen.com. (
> 2000091301 ; Serial
> 10800 ;Refresh after 3 hours
> 3600 ;Retry after 1 hour
> 604800 ;Expire after 1 week
> 86400 ) ;Minimum TTL 1day
Likewise. Now the real problems.
>
> ;name servers
>
> 109.195.141.63.in-addr.arpa. IN NS ns1.cyberscreen.com.
> 52.195.141.63.in-addr.arpa. IN NS ns2.cyberscreen.com.
(1) "109.195.141.63.in-addr.arpa." and "52.195.141.63.in-addr.arpa."
are not zones, as far as I can tell.
(2) "109.195.141.63.in-addr.arpa." and "52.195.141.63.in-addr.arpa."
are not the zones that this file is talking about. These lines will be
seen as declaring subdomains, and delegating those subdomains.
(3) Hence, NO name servers are seen as being in this zone at all!
> ;addresses to canonical names
>
> 100.195.141.63.in-addr.arpa. IN PTR server.cyberscreen.com.
Per your original mistake, this would have been the only line seen in
this file that was legitimate.
> 101.195.141.63.in-addr.arpa. IN PTR media.cyberscreen.com.
> 109.195.141.63.in-addr.arpa. IN PTR ns1.cyberscreen.com.
> 52.195.141.63.in-addr.arpa. IN PTR ns2.cyberscreen.com.
> 103.195.141.63.in-addr.arpa. IN PTR mail.cyberscreen.com.
> 102.195.141.63.in-addr.arpa. IN PTR secure.cyberscreen.com.
>
> ==================================================================
> and here are some of the possibly pertinent error messages from the log:
You may see the reasons for the problems now.
Let's try this for your file. If you had had this before, you wouldn't
even have had to change this when you changed /24 networks.
=======================================================================
@ IN SOA ns1.cyberscreen.com. webmaster.cyberscreen.com. (
2000091301 ; Serial
10800 ;Refresh after 3 hours
3600 ;Retry after 1 hour
604800 ;Expire after 1 week
86400 ) ;Minimum TTL 1day
;name servers
IN NS ns1.cyberscreen.com.
IN NS ns2.cyberscreen.com.
;addresses to canonical names
100 IN PTR server.cyberscreen.com.
101 IN PTR media.cyberscreen.com.
109 IN PTR ns1.cyberscreen.com.
52 IN PTR ns2.cyberscreen.com.
103 IN PTR mail.cyberscreen.com.
102 IN PTR secure.cyberscreen.com.
=======================================================================
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
COSPO/OSIS Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list