Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:dns [2012/10/13 13:44] – [List of anycast DNS servers] rboissat | doc:dns [2023/08/25 16:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
====== Anycast DNS ====== | ====== Anycast DNS ====== | ||
+ | |||
===== Description of service ===== | ===== Description of service ===== | ||
- | This service provides an efficient and fault tolerant way of resolving '' | + | This service provides an efficient and fault tolerant way of resolving '' |
- | Three levels of participation exist: | + | |
- | | + | |
- | * running a slave DNS server: if you have a large number of hosts in you network, you may want to run a slave DNS server to increase performances; | + | |
- | * using your DNS server as a forwarder: this is a simplest way of using the service. | + | |
- | < | + | < |
* Anycast DNS IPv4: **192.168.248.53**. | * Anycast DNS IPv4: **192.168.248.53**. | ||
- | * Anycast DNS IPv6: **'' | + | * Anycast DNS IPv6: **'' |
</ | </ | ||
- | ==== Recursive DNS ==== | + | <note tip>**BIND9 configuration example |
- | + | ||
- | We also aim to provide a recursive anycast DNS service within GLaNET. To use it, just configure the following addresses as your resolver: | + | |
- | + | ||
- | <note tip> | + | |
- | * Anycast recursive DNS IPv4: **192.168.248.153**. | + | |
- | * Anycast recursive DNS IPv6: **'' | + | |
- | </ | + | |
- | + | ||
- | <note warning> | + | |
- | + | ||
- | If you want to participate and provide an anycast recursive DNS server, don't hesitate to [[doc: | + | |
- | + | ||
- | + | ||
- | ===== List of anycast DNS servers ===== | + | |
- | + | ||
- | ^ Host ^ IPv4 | + | |
- | | ns.fa0.org | + | |
- | | ns.ca.fa0.org | + | |
- | | ns0.lv0.in | + | |
- | ===== Master configuration example ===== | + | |
- | + | ||
- | <note warning> | + | |
- | You **must not** advertise any GLaNET DNS anycast prefixes whilst your DNS server is not operating. It is **your** responsibility to implement any solution deemed necessary to ensure this requirement. | + | |
- | </ | + | |
- | <note important> | + | |
- | When adding a master server, don't forget that your DNS server must listen on 192.168.248.53 and/or '' | + | |
- | </ | + | |
- | <note tip> | + | |
- | Initial checkout: | + | |
< | < | ||
- | svn checkout https:// | ||
- | </ | ||
- | </ | ||
- | |||
- | ==== named.conf ==== | ||
- | < | ||
- | zone " | ||
- | type master; | ||
- | allow-transfer { any; }; | ||
- | file "/ | ||
- | }; | ||
- | |||
zone " | zone " | ||
- | type master; | + | type forward; |
- | | + | |
- | file "/ | + | |
}; | }; | ||
zone " | zone " | ||
- | type master; | + | type forward; |
- | | + | |
- | file "/ | + | |
}; | }; | ||
- | </ | + | </code></ |
- | ==== crontab ==== | + | <note tip> |
< | < | ||
- | */5 * * * * root svn up / | + | server: |
- | </ | + | (...) |
+ | local-zone: " | ||
+ | | ||
- | ===== Slave configuration example ===== | + | domain-insecure: |
+ | (...) | ||
- | ==== named.conf ==== | + | stub-zone: |
- | < | + | |
- | zone " | + | stub-addr: |
- | | + | |
- | masters { 192.168.248.53; fd00: | + | |
- | | + | |
- | }; | + | |
- | zone "168.192.in-addr.arpa" { | + | stub-zone: |
- | type slave; | + | name: 0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa. |
- | masters { 192.168.248.53; fd00: | + | stub-addr: |
- | | + | |
- | }; | + | |
- | zone " | + | </code></note> |
- | type master; | + | |
- | masters { 192.168.248.53; | + | |
- | file "/etc/ | + | |
- | }; | + | |
- | </code> | + | |
- | ===== Forwarder | + | <note tip> |
- | + | ||
- | ==== named.conf ==== | + | |
< | < | ||
- | zone " | + | (...) |
- | type forward; | + | -- Forward all requests for 168.192.in-addr.arpa. to fd00: |
- | | + | policy.add(policy.suffix(policy.STUB({' |
- | }; | + | |
- | zone "168.192.in-addr.arpa" { | + | -- Forward all requests for 0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa to fd00: |
- | type forward; | + | policy.add(policy.suffix(policy.STUB({' |
- | forwarders { 192.168.248.53; fd00: | + | (...) |
- | }; | + | </ |
+ | ===== Recursive DNS ===== | ||
- | zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" | + | We also aim to provide a recursive anycast DNS service within GLaNET. To use it, just configure the following addresses as your resolver: |
- | type forward; | + | |
- | | + | <note important> |
- | }; | + | |
- | </code> | + | * Anycast recursive DNS IPv6: **'' |
+ | </note> |