problem
Da Rock
freebsd-questions at herveybayaustralia.com.au
Sun Apr 1 04:53:59 UTC 2012
On 04/01/12 13:18, jangkawijaya at students.itb.ac.id wrote:
> I've got the problem like this
>
> Apr 1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: loading from master file /etc/namedb/master/db.johannesang failed: extra input text
> Apr 1 17:03:15 johannesang named[576]: zone 79.205.167.in-addr.arpa/IN: not loaded due to errors.
> Apr 1 17:03:15 johannesang named[576]: /etc/namedb/master/localhost-reverse.db:2: no current owner name
> Apr 1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: loading from master file /etc/namedb/master/localhost-reverse.db failed: no owner
> Apr 1 17:03:15 johannesang named[576]: zone 0.ip6.arpa/IN: not loaded due to errors.
> Apr 1 17:03:15 johannesang named[576]: zone 8.B.D.0.1.0.0.2.IP6.ARPA/IN: zone serial (0) unchanged. zone may fail to transfer to slaves.
> Apr 1 17:03:15 johannesang named[576]: dns_rdata_fromtext: /etc/namedb/master/db.domain:5: near '3h': extra input text
> Apr 1 17:03:15 johannesang named[576]: zone johannesang.com/IN: loading from master file /etc/namedb/master/db.domain failed: extra input text
> Apr 1 17:03:15 johannesang named[576]: zone johannesang.com/IN: not loaded due to errors
>
> " here is localhost-reverse.db file
>
>
> $FreeBSD: src/etc/namedb/master/localhost-reverse.db,v 1.1.14.1 2010/02/10 00:2
>
> $TTL 3h
> @ SOA localhost. nobody.localhost. 42 1d 12h 1w 3h
> Serial, Refresh, Retry, Expire, Neg. cache TTL
>
> NS localhost.
>
> 1.0.0 PTR localhost.
>
> 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 PTR localhost.
>
>
> here is my db.domain file
>
> $TTL 3600
>
> johannesang.com. IN SOA host.johannesang.com. root.johannesang.com. (
>
> 2012040100 42 1d 12h 1w 3h
> Serial, Refresh, Retry, Expire, Neg. cache TTL
>
>
> ;DNS Servers
> johannesang.com. IN NS host.johannesang.com.
>
> ;Machine Names
> host.johannesang.com. IN A 167.205.79.105
>
> ;Aliases
> www IN CNAME host.johannesang.com.
>
> here is my db.johannesang file
> $TTL 3600
>
> 79.205.167.in-addr.arpa. IN SOA host.johannesang.com. root.johannesang.com.
>
> 2012040100 42 1d 12h 1w 3h
> Serial, Refresh, Retry, Expire, Neg. cache TTL
>
>
> DNS Servers
Is this a typo or actually in the file?
> 79.205.167.in-addr.arpa. IN NS host.johannesang.com.
>
> ;Machine IPs
> 105 IN PTR host.johannesang.com.
> 105 IN PTR www.johannesang.com.
>
> and here is my named.conf
>
> key "rndc-key" {
> algorithm hmac-md5;
> secret "+W8n6komoiD9BRAfbbT//QsntsFScEs6gUXArJuH4Nk=";
> };
>
>
>
> zone "johannesang.com" {
> type master;
> file "/etc/namedb/master/db.domain";
> allow-transfer { localhost; };
> allow-update { key rndc-key; };
> };
>
>
>
> zone "79.205.167.in-addr.arpa" {
> type master;
> file "/etc/namedb/master/db.johannesang";
> allow-transfer { localhost; };
> allow-update { key rndc-key; };
>
> };
>
> I need your help thanks
Did you update your serials?
I'd go back and check your zone files (for starters), and reread the
bind admin book on their format.
HTH
More information about the freebsd-questions
mailing list