| Line 88: |
Line 88: |
| | }; | | }; |
| | ...</nowiki> | | ...</nowiki> |
| | + | |
| | + | == Forwarding == |
| | + | * Edit /etc/bind/named.conf.default-zones |
| | + | * Add |
| | + | <nowiki>// prime the server with knowledge of the root servers |
| | + | zone "." { |
| | + | type hint; |
| | + | file "/usr/share/dns/root.hints"; |
| | + | }; |
| | + | |
| | + | // be authoritative for the localhost forward and reverse zones, and for |
| | + | // broadcast zones as per RFC 1912 |
| | + | |
| | + | zone "localhost" { |
| | + | type master; |
| | + | file "/etc/bind/db.local"; |
| | + | }; |
| | + | |
| | + | zone "127.in-addr.arpa" { |
| | + | type master; |
| | + | file "/etc/bind/db.127"; |
| | + | }; |
| | + | |
| | + | zone "0.in-addr.arpa" { |
| | + | type master; |
| | + | file "/etc/bind/db.0"; |
| | + | }; |
| | + | |
| | + | zone "255.in-addr.arpa" { |
| | + | type master; |
| | + | file "/etc/bind/db.255"; |
| | + | }; |
| | + | |
| | + | zone "igrupobbva" { |
| | + | type forward; |
| | + | forward only; |
| | + | forwarders { |
| | + | 22.0.0.1; |
| | + | }; |
| | + | }; |
| | + | |
| | + | zone "grupobbva.com" { |
| | + | type forward; |
| | + | forward only; |
| | + | forwarders { |
| | + | 8.8.8.8; |
| | + | }; |
| | + | }; |
| | + | |
| | + | zone "interno.grupobbva.com" { |
| | + | type forward; |
| | + | forward only; |
| | + | forwarders { |
| | + | 22.0.0.1; |
| | + | }; |
| | + | }; |
| | + | |
| | + | zone "ad.bbva.com" { |
| | + | type forward; |
| | + | forward only; |
| | + | forwarders { |
| | + | 22.0.0.1; |
| | + | }; |
| | + | }; |
| | + | |
| | + | zone "rra.lan" { |
| | + | type forward; |
| | + | forward only; |
| | + | forwarders { |
| | + | 10.0.232.30; |
| | + | }; |
| | + | }; |
| | + | </nowiki> |