daily pastebin goal
80%
SHARE
TWEET

Untitled

a guest Nov 28th, 2010 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. named.conf.local
  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 "tuxdomain.local" {
  13.         type master;
  14.         file "/etc/bind/zones/tuxdomain.local.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 "56.168.192.in-addr.arpa" {
  19.      type master;
  20.      file "/etc/bind/zones/rev.56.168.192.in-addr.arpa";
  21. };
  22.  
  23. ######################################
  24.  
  25. ;
  26. ; SOA
  27. ;
  28. $TTL    1h
  29. @               IN      SOA     ns1.tuxdomain.local. hostmaster.tuxdomain.local. (
  30.                         0000000001      ; Serial number
  31.                         1h              ; Slave refresh
  32.                         15m             ; Slave retry
  33.                         2w              ; Slave expire
  34.                         1h              ; Negative Cache TTL
  35.                         )
  36. ;
  37. ; Name Server Kay?tlar?
  38. ;
  39. @               IN      NS              ns1.tuxdomain.local.
  40. ;
  41. ; Mail Kay?tlar?
  42. ;
  43. @               IN      MX      10      mail.tuxdomain.local.
  44. ;
  45. ; A Kay?tlar?
  46. ;
  47. @               IN      A               192.168.56.101
  48. www             IN      A               192.168.56.101
  49. ns1             IN      A               192.168.56.101
  50. mail            IN      A               192.168.56.102
  51.  
  52. ###############################
  53.  
  54. ;
  55. ; SOA
  56. ;
  57. $TTL    1h
  58. @               IN      SOA     ns1.tuxdomain.local. hostmaster.tuxdomain.local. (
  59.                         0000000001      ; Serial number
  60.                         1h              ; Slave refresh
  61.                         15m             ; Slave retry
  62.                         2w              ; Slave expire
  63.                         1h              ; Negative Cache TTL
  64.                         )
  65. ;
  66. ; Name Server Kay?tlar?
  67. ;
  68. @               IN      NS              ns1.tuxdomain.local.
  69. ;
  70. ; Mail Kay?tlar?
  71. ;
  72. @               IN      MX      10      mail.tuxdomain.local.
  73. ;
  74. ; A Kay?tlar?
  75. ;
  76. @               IN      A               192.168.56.101
  77. www             IN      A               192.168.56.101
  78. ns1             IN      A               192.168.56.101
  79. mail            IN      A               192.168.56.102
RAW Paste Data
Top