Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:dns [2012/03/08 23:52] – [List of anycast DNS servers] Benjamin Collet | doc:dns [2023/08/25 16:38] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== 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: **'' |
</ | </ | ||
- | ===== Adding your NS records ===== | + | <note tip> |
+ | < | ||
+ | zone " | ||
+ | type forward; | ||
+ | forwarders { 192.168.248.53; | ||
+ | }; | ||
- | Send an email to [[dnsmaster@glanet.org]] with your IP subnet and the name servers authoritative for it. | + | zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" |
+ | type forward; | ||
+ | forwarders { 192.168.248.53; | ||
+ | }; | ||
+ | </ | ||
- | ===== List of anycast DNS servers ===== | + | <note tip> |
+ | < | ||
+ | server: | ||
+ | (...) | ||
+ | local-zone: | ||
+ | local-zone: | ||
- | ^ Host ^ IPv4 ^ IPv6 ^ ASN ^ | + | domain-insecure: |
- | | ns.fa0.org | '' | + | (...) |
- | | ns0.lv0.in | '' | + | |
- | If you want to run a master anycast DNS server, please contact us at [[dnsmaster@glanet.org]]. | + | stub-zone: |
+ | name: 168.192.in-addr.arpa. | ||
+ | stub-addr: | ||
+ | stub-addr: | ||
- | ===== Files ===== | + | stub-zone: |
- | FIXME | + | |
- | | + | stub-addr: fd00: |
+ | stub-addr: | ||
- | ===== Master configuration example ===== | + | </ |
- | <note important> | + | |
- | When adding a master server, don't forget that your DNS server must listen on 192.168.248.53, | + | |
- | </ | + | |
- | <note tip> | + | |
- | Initial checkout: | + | |
- | < | + | |
- | svn checkout https:// | + | |
- | </ | + | |
- | </ | + | |
- | ==== named.conf ==== | + | <note tip> |
< | < | ||
- | zone " | + | (...) |
- | type master; | + | -- Forward all requests for 168.192.in-addr.arpa. to fd00: |
- | allow-transfer { any; }; | + | policy.add(policy.suffix(policy.STUB({' |
- | file "/ | + | |
- | }; | + | |
- | 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 master; | + | policy.add(policy.suffix(policy.STUB({' |
- | | + | (...) |
- | file "/ | + | </ |
- | }; | + | ===== 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 master; | + | |
- | allow-transfer { any; }; | + | |
- | file "/ | + | |
- | }; | + | |
- | </ | + | |
- | ==== crontab ==== | + | <note important> |
- | <code> | + | * Anycast recursive DNS IPv4: **192.168.248.153**. |
- | */5 | + | |
- | </ | + | </note> |
- | FIXME Some zone checking should be done. | + | |
- | + | ||
- | ===== Slave configuration example ===== | + | |
- | FIXME | + | |
- | ==== named.conf ==== | + | |
- | < | + | |
- | zone " | + | |
- | type slave; | + | |
- | masters { 192.168.248.53; }; | + | |
- | file "/ | + | |
- | }; | + | |
- | </ | + | |
- | + | ||
- | ===== Forwarder configuration example ===== | + | |
- | FIXME | + | |
- | ==== named.conf ==== | + | |
- | < | + | |
- | zone " | + | |
- | | + | |
- | forwarders { 192.168.248.53; }; | + | |
- | }; | + | |
- | </code> | + |