This is a discussion on help me pls! within the Bind Users forums, part of the DNS and Related Forums category; hi all, Objective: We'd like to make this machine the primary ns for our domain and not a resolving ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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' /etc/named.conf:13: unknown option ‘zone' Pls help? Here is the text in my named.conf file: Options { Directory "/var/named"; Forward first; Forwarders { My ISP's dns servers; 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 ; 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 }; |