pls help me.

Andrew Tsen drew at netaxs.com
Wed Feb 14 12:58:02 UTC 2001


On Wed, 14 Feb 2001, Kong Hoang wrote:

> hello people,
> 
> does anyone know what the problem is here?
> 
> ./named[10572]: dns_rdata_fromtext: primary/reverse/db.127.0.0:2: near eol:
> unexpected end of input
> ./named[10572]: dns_zone_load: zone 0.0.127.in-addr.arpa/IN: loading master
> file primary/reverse/db.127.0.0: unexpected end of input

Means there is an error on LINE 2 of db.127.0.0 file.

> ./named[10572]: dns_rdata_fromtext: primary/localhost:4: near eol:
> unexpected end of input
> ./named[10572]: dns_zone_load: zone localhost/IN: loading master file
> primary/localhost: unexpected end of input

Also, LINE 4 of localhost.
You shouldn't be using an individual zone file for localhost.
localhost will be a subdomain of your FULLY QUALIFIED domain.

> heres my files:
> 
> db.127.0.0:
> 
> $TTL 86400
> 0.0.127.in-addr.arpa.   IN      SOA     test.test.co.uk test1.test1.com.

                                                         ^
    Missing a period "." after test.test.co.uk ----------|

> (               1999081800
>                 10800
>                 3600
>                 604800
>                 86400   )

create a zone file for your domain or your server, and add an entry for
localhost as a subdomain. 

yourdomain.com. IN SOA  yourdomain.com.   you.yourdomain.com. (
                           2001021400  ; Serial
                           7200        ; Refresh after 3 hours
                           3600        ; Retry after 1 hour
                           604800      ; Expire after 1 week
                           86400  )    ; Minimum TTL of 1 day

                           IN NS    yourdomain.com.
                           IN A     123.45.678.910
localhost.yourdomain.com.	IN A	127.0.0.1 

; Or  you can use the following
; localhost			IN A	127.0.0.1

Regards...




More information about the bind-users mailing list