This is a discussion on Re: help me pls! within the Bind Users forums, part of the DNS and Related Forums category; ike lozada <ikelozada@yahoo.com> wrote: > hi all, > Objective: > We'd like to make this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
ike lozada <ikelozada@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. |