no /etc/rndc.key
Joseph S D Yao
jsdy at center.osis.gov
Wed Nov 13 22:44:35 UTC 2002
On Wed, Nov 13, 2002 at 11:25:54AM +1100, Julie Xu wrote:
> Joseph,
>
> Great thank.
>
> I am trying to use bind + mysql, and I have a complain from named that:
> named[19140]: [ID 866145 daemon.error] zone 0.0.127.IN-ADDR.ARPA/IN: has
> no NS records
>
> I have no idea what should put for NS record on Mysql.
> The text file of localhost is
> @ IN SOA localhost. root.localhost. (
> 1 ; Serial 17:10 at 16-1-92
> 10800 ; Refresh 3 hours
> 3600 ; Retry 1 hour
> 3600000 ; Expire 1000 hours
> 86400 ) ; Minimum 24 hours
> ;
> IN NS localhost.
> 1 IN PTR localhost.
> localhost. IN A 127.0.0.1
>
> So, if I transfer it to mysql:
> Name ttl rdtype rdata
> === == ==== ======
> 0.0.127.in-addr.arpa 17600 SOA ns localhost
> .....
> ? 17600 NS
> localhost.juliedomain...
> 1 17600 PTR
> localhost.julie.........
> localhost.julie... 17600 A 127.0.0.1
>
> I have no idea what I should put in the position of mark ?.
>
> Could you advice?
>
> Many thank.
>
>
> Julie Xu
>
> Data Communication Team
> Information Technology Directorate
> University of Western Sydney
> Locked Bag 1797
> Penrith South DC NSW 1797
I hope that you will forgive my cc'ing your letter back to the list,
but that is where it would have eventually had to go, anyway. I do not
yet have any experience with using a database as a back end to BIND.
Somebody else here might.
I can tell you that the zone file above is wrong. The first two data
elements of the SOA record should be the name of the name server, and a
valid e-mail address. The NS record should also contain the name of
the VALID name server - localhost.[yourdomain] is fine, as long as you
have the forward-DNS A record in your zone.[yourdomain] zone file. It
should NOT be in the reverse DNS zone file.
I would suspect that what you might want to have in it is as follows
[assuming that "$TTL 17600" preceded all of the above]. Note trailing
dots.
Name ttl rdtype rdata
=== == ==== ======
0.0.127.in-addr.arpa. 17600 SOA "localhost.juliedomain.uws.edu.au. j.xu at uws.edu.au. 1 10800 3600 3600000 86400"
0.0.127.in-addr.arpa. 17600 NS localhost.juliedomain.uws.edu.au.
1.0.0.127.in-addr.arpa. 17600 PTR localhost.juliedomain.uws.edu.au.
The "localhost. IN A 127.0.0.1" record belongs in the forward
DNS domain, not the reverse DNS domain.
--
Joe Yao jsdy at center.osis.gov - Joseph S. D. Yao
OSIS Center Systems Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of OSIS Center policies.
More information about the bind-users
mailing list