Sample file ??
Thor Kottelin
thor at anta.net
Sun Dec 5 10:10:25 UTC 1999
BIND Users Mailing List wrote:
> From: Shashi Dahal <mail at shashee.wlink.com.np>
> can anyone send me a sample zone file
> or configuration file where RoundRobin DNS of any kind is implemented ?
Here's a minimal zone file example, lacking extra goodies such as SRV
records, which also will be able to achieve load sharing as soon as
clients start implementing them. (Anyone heard of a complying client?)
; example.db
@ SOA ns1.example. hostmaster.example. (
1999120501 86400 7200 2592000 345600 )
NS ns1
NS ns2
MX 20 mail1
MX 20 mail2
ns1 A 192.168.0.2
ns2 A 192.168.0.3
mail1 A 192.168.0.4
mail2 A 192.168.0.5
www A 192.168.0.6
A 192.168.0.7
A 192.168.0.8
A 192.168.0.9
Responsibility for incoming mail is shared between mail1 and mail2,
although this isn't really round robin. The host www, however, has four A
records pointing to different IP addresses - this is round robin.
The configuration file doesn't need any special attention in this respect.
Thor
--
My PGP public key is available on key servers - please use it!
More information about the bind-users
mailing list