Advertising
- Unnamed
- Friday, January 5th, 2007 at 3:31:42am UTC
- named.local.conf
- //
- // Do any local configuration here
- //
- // Consider adding the 1918 zones here, if they are not used in your
- // organization
- //include "/etc/bind/zones.rfc1918";
- # This is the zone definition. replace example.com with your domain name
- zone "zingotel.com" {
- type master;
- file "/etc/bind/zones/zingotel.com.db";
- };
- # This is the zone definition for reverse DNS. replace 0.168.192 with your network address in reverse notation - e.g my network address is 192.168.0
- zone "1.168.192.in-addr.arpa" {
- type master;
- file "/etc/bind/zones/rev.1.168.192.in-addr.arpa";
- };
- # This is the zone definition. replace example.com with your domain name
- zone "whistlertel.com" {
- type master;
- file "/etc/bind/zones/whistlertel.com.db";
- };
- # This is the zone definition. replace example.com with your domain name
- zone "jhsoft.com" {
- type master;
- file "/etc/bind/zones/jhsoft.com.db";
- };
- # This is the zone definition. replace example.com with your domain name
- zone "nist.gov.db" {
- type master;
- file "/etc/bind/zones/nist.gov.db";
- };
- ******************************************************
- contents of :/etc/bind/zones/zingotel.com.db
- // replace zingotel.com with your domain name. do not forget the . after the domain name!
- // Also, replace ns1 with the name of your DNS server
- zingotel.com. IN SOA ns1.zingotel.com. admin.zingotel.com. (
- // Do not modify the following lines!
- 2006081401
- 28800
- 3600
- 604800
- 38400
- )
- // Replace the following line as necessary:
- // ns1 = DNS Server name
- // mta = mail server name
- // zingotel.com = domain name
- zingotel.com. IN NS ns1.zingotel.com.
- zingotel.com. IN MX 10 mta.zingotel.com.
- // Replace the IP address with the right IP addresses.
- www IN A 192.168.1.100
- mta IN A 192.168.1.100
- ns1 IN A 192.168.1.100
- There are 3 other files exactly as above for the other domains with just a replace of zingotel with the others.
- *********************************************************************
- contents of /etc/bind/zones/rev.1.168.192.in-addr.arpa
- //replace zingotel.com with yoour domain name, ns1 with your DNS server name.
- // The number before IN PTR zingotel.com is the machine address of the DNS server. in my case, it's 1, as my IP address is 192.168.0.1.
- @ IN SOA ns1.zingotel.com. admin.zingotel.com. (
- 2006081401;
- 28800;
- 604800;
- 604800;
- 86400
- )
- IN NS ns1.zingotel.com.
- 100 IN PTR zingotel.com
- @ IN SOA ns1.whistlertel.com. admin.whistlertel.com. (
- 2006081401;
- 28800;
- 604800;
- 604800;
- 86400
- )
- IN NS ns1.whistlertel.com.
- 100 IN PTR whistlertel.com
- @ IN SOA ns1.jhsoft.com. admin.jhsoft.com. (
- 2006081401;
- 28800;
- 604800;
- 604800;
- 86400
- )
- IN NS ns1.jhsoft.com.
- 100 IN PTR jhsoft.com
- @ IN SOA ns1.nist.gov. admin.nist.gov. (
- 2006081401;
- 28800;
- 604800;
- 604800;
- 86400
- )
- IN NS ns1.nist.gov.
- 100 IN PTR nist.gov
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.