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

Advertising

Unnamed
Tuesday, January 15th, 2008 at 6:47:40pm UTC 

  1. [email protected]:/etc/bind$ cat named.conf
  2. // This is the primary configuration file for the BIND DNS server named.
  3. //
  4. // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
  5. // structure of BIND configuration files in Debian, *BEFORE* you customize
  6. // this configuration file.
  7. //
  8. // If you are just adding zones, please do that in /etc/bind/named.conf.local
  9.  
  10. include "/etc/bind/named.conf.options";
  11.  
  12. // prime the server with knowledge of the root servers
  13. zone "." {
  14.         type hint;
  15.         file "/etc/bind/db.root";
  16. };
  17.  
  18. // be authoritative for the localhost forward and reverse zones, and for
  19. // broadcast zones as per RFC 1912
  20.  
  21. zone "localhost" {
  22.         type master;
  23.         file "/etc/bind/db.local";
  24. };
  25.  
  26. zone "127.in-addr.arpa" {
  27.         type master;
  28.         file "/etc/bind/db.127";
  29. };
  30.  
  31. zone "0.in-addr.arpa" {
  32.         type master;
  33.         file "/etc/bind/db.0";
  34. };
  35.  
  36. zone "255.in-addr.arpa" {
  37.         type master;
  38.         file "/etc/bind/db.255";
  39. };
  40.  
  41. // zone "com" { type delegation-only; };
  42.  
  43.  
  44. zone "audeladuweb.com" {
  45.         type master;
  46.         file "/etc/bind/Domaines/audeladuweb.com.dns";
  47. };
  48.  
  49.  
  50. // zone "net" { type delegation-only; };
  51.  
  52. // From the release notes:
  53. //  Because many of our users are uncomfortable receiving undelegated answers
  54. //  from root or top level domains, other than a few for whom that behaviour
  55. //  has been trusted and expected for quite some length of time, we have now
  56. //  introduced the "root-delegations-only" feature which applies delegation-only
  57. //  logic to all top level domains, and to the root domain.  An exception list
  58. //  should be specified, including "MUSEUM" and "DE", and any other top level
  59. //  domains from whom undelegated responses are expected and trusted.
  60. // root-delegation-only exclude { "DE"; "MUSEUM"; };
  61.  
  62. include "/etc/bind/named.conf.local";
  63. [email protected]:/etc/bind$ cat Domaines/audela
  64. cat: Domaines/audela: Aucun fichier ou répertoire de ce type
  65. [email protected]:/etc/bind$ cat named.conf
  66. // This is the primary configuration file for the BIND DNS server named.
  67. //
  68. // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
  69. // structure of BIND configuration files in Debian, *BEFORE* you customize
  70. // this configuration file.
  71. //
  72. // If you are just adding zones, please do that in /etc/bind/named.conf.local
  73.  
  74. include "/etc/bind/named.conf.options";
  75.  
  76. // prime the server with knowledge of the root servers
  77. zone "." {
  78.         type hint;
  79.         file "/etc/bind/db.root";
  80. };
  81.  
  82. // be authoritative for the localhost forward and reverse zones, and for
  83. // broadcast zones as per RFC 1912
  84.  
  85. zone "localhost" {
  86.         type master;
  87.         file "/etc/bind/db.local";
  88. };
  89.  
  90. zone "127.in-addr.arpa" {
  91.         type master;
  92.         file "/etc/bind/db.127";
  93. };
  94.  
  95. zone "0.in-addr.arpa" {
  96.         type master;
  97.         file "/etc/bind/db.0";
  98. };
  99.  
  100. zone "255.in-addr.arpa" {
  101.         type master;
  102.         file "/etc/bind/db.255";
  103. };
  104.  
  105. // zone "com" { type delegation-only; };
  106.  
  107.  
  108. zone "audeladuweb.com" {
  109.         type master;
  110.         file "/etc/bind/Domaines/audeladuweb.com.dns";
  111. };
  112.  
  113.  
  114. // zone "net" { type delegation-only; };
  115.  
  116. // From the release notes:
  117. //  Because many of our users are uncomfortable receiving undelegated answers
  118. //  from root or top level domains, other than a few for whom that behaviour
  119. //  has been trusted and expected for quite some length of time, we have now
  120. //  introduced the "root-delegations-only" feature which applies delegation-only
  121. //  logic to all top level domains, and to the root domain.  An exception list
  122. //  should be specified, including "MUSEUM" and "DE", and any other top level
  123. //  domains from whom undelegated responses are expected and trusted.
  124. // root-delegation-only exclude { "DE"; "MUSEUM"; };
  125.  
  126. include "/etc/bind/named.conf.local";
  127. [email protected]:/etc/bind$ cat Domaines/audela.dns
  128. $TTL 10800
  129.  
  130.  
  131. [email protected]:/etc/bind$ named-checkconf Domaines/audela.dns
  132. Domaines/audela.dns:1: unknown option '$TTL'
  133. Domaines/audela.dns:4: unexpected token near end of file
  134. [email protected]:/etc/bind$       

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
worth-right