help me pls!
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Tue Jan 20 18:35:41 UTC 2004
ike lozada <ikelozada at yahoo.com> wrote:
> hi all,
> Objective:
> We'd like to make this machine the primary ns for our domain and not a
> resolving cache only server so that we are not dependent on our ISP.
> Error messages:
> Tail f /var/log/messages
> Loading configuration from /etc/named.conf'
> /etc/named.conf:9: unknown option zone'
Ok, line 9 in /etc/named.conf has an error
> /etc/named.conf:13: unknown option zone'
line 13 has an error
> Pls help?
> Here is the text in my named.conf file:
> Options {
> Directory "/var/named";
> Forward first;
> Forwarders {
> My ISP's dns servers;
*** missing closing brace '}; ' should go here ; you have to "close"
the options part before zone(s).
> zone "my.domainname.com.ph" in {
> type master;
> file "primary/domain-info";
> };
> zone "0.0.127.in-addr.arpa" in {
> type master;
> file "primary/loopback-domain-info";
> };
> while my primary/domain-info file looks like
> @ in SOA machinehostname.domainname.com.ph.
> root.machinehostname.domainame.com.ph. (
> 12345678
> 8H
> 2H
> 1W
> 1D)
> ;
> NS machine's public ip address (xxx.xxx.xxx.90)
> MX 10 machinehostname.domainname.com.ph
Missing trailng dot here ^^
> ;
> localhost A 127.0.0.1
> ns machines' public ip address (xxx.xxx.xxx.90)
> mail machine's public ip address (xxx.xxx.xxx.90)
> ;
> while my primary/loopback-domain-info
> (this machine will both be a mail server and dns server)
> @ in SOA machinehostname.domainname.com.ph.
> root.machinehostname.domainame.com.ph. (
> 12345678
> 8H
> 2H
> 1W
> 1D)
> ;
> NS dns.external.bcda.gov.ph.
> ;
> 90 PTR localhost
Hmmm. the only valid entry here is :
1 PTR localhost. ( or localhost.domain.ph. )
> };
--
Peter Håkanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
More information about the bind-users
mailing list