Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Unnamed
Friday, January 5th, 2007 at 3:31:42am UTC 

  1. named.local.conf
  2.  
  3. //
  4. // Do any local configuration here
  5. //
  6.  
  7. // Consider adding the 1918 zones here, if they are not used in your
  8. // organization
  9. //include "/etc/bind/zones.rfc1918";
  10.  
  11. # This is the zone definition. replace example.com with your domain name
  12. zone "zingotel.com" {
  13.         type master;
  14.         file "/etc/bind/zones/zingotel.com.db";
  15.         };
  16.  
  17. # 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
  18. zone "1.168.192.in-addr.arpa" {
  19.      type master;
  20.      file "/etc/bind/zones/rev.1.168.192.in-addr.arpa";
  21. };
  22.  
  23. # This is the zone definition. replace example.com with your domain name
  24. zone "whistlertel.com" {
  25.         type master;
  26.         file "/etc/bind/zones/whistlertel.com.db";
  27.         };
  28.  
  29. # This is the zone definition. replace example.com with your domain name
  30. zone "jhsoft.com" {
  31.         type master;
  32.         file "/etc/bind/zones/jhsoft.com.db";
  33.         };
  34.  
  35.  
  36. # This is the zone definition. replace example.com with your domain name
  37. zone "nist.gov.db" {
  38.         type master;
  39.         file "/etc/bind/zones/nist.gov.db";
  40.         };
  41.  
  42. ******************************************************
  43.  
  44. contents of :/etc/bind/zones/zingotel.com.db
  45.  
  46. // replace zingotel.com with your domain name. do not forget the . after the domain name!
  47. // Also, replace ns1 with the name of your DNS server
  48. zingotel.com.      IN      SOA     ns1.zingotel.com. admin.zingotel.com. (
  49. // Do not modify the following lines!
  50.                                                         2006081401
  51.                                                         28800
  52.                                                         3600
  53.                                                         604800
  54.                                                         38400
  55.  )
  56.  
  57. // Replace the following line as necessary:
  58. // ns1 = DNS Server name
  59. // mta = mail server name
  60. // zingotel.com = domain name
  61. zingotel.com.      IN      NS              ns1.zingotel.com.
  62. zingotel.com.      IN      MX     10       mta.zingotel.com.
  63.  
  64. // Replace the IP address with the right IP addresses.
  65. www              IN      A       192.168.1.100
  66. mta              IN      A       192.168.1.100
  67. ns1              IN      A       192.168.1.100
  68.  
  69.  
  70. There are 3 other files exactly as above for the other domains with just a replace of zingotel with the others.
  71.  
  72. *********************************************************************
  73.  
  74. contents of /etc/bind/zones/rev.1.168.192.in-addr.arpa
  75.  
  76. //replace zingotel.com with yoour domain name, ns1 with your DNS server name.
  77. // 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.
  78. @ IN SOA ns1.zingotel.com. admin.zingotel.com. (
  79.                         2006081401;
  80.                         28800;
  81.                         604800;
  82.                         604800;
  83.                         86400
  84. )
  85.  
  86.                      IN    NS     ns1.zingotel.com.
  87. 100                    IN    PTR    zingotel.com
  88.  
  89. @ IN SOA ns1.whistlertel.com. admin.whistlertel.com. (
  90.                         2006081401;
  91.                         28800;
  92.                         604800;
  93.                         604800;
  94.                         86400
  95. )
  96.  
  97.                      IN    NS     ns1.whistlertel.com.
  98. 100                    IN    PTR    whistlertel.com
  99.  
  100.  
  101. @ IN SOA ns1.jhsoft.com. admin.jhsoft.com. (
  102.                         2006081401;
  103.                         28800;
  104.                         604800;
  105.                         604800;
  106.                         86400
  107. )
  108.  
  109.                      IN    NS     ns1.jhsoft.com.
  110. 100                    IN    PTR    jhsoft.com
  111.  
  112. @ IN SOA ns1.nist.gov. admin.nist.gov. (
  113.                         2006081401;
  114.                         28800;
  115.                         604800;
  116.                         604800;
  117.                         86400
  118. )
  119.  
  120.                      IN    NS     ns1.nist.gov.
  121. 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right