How to return 10 IP randomly from BIND instead of 55
mca.jyoti at gmail.com
mca.jyoti at gmail.com
Thu Jun 1 06:29:41 UTC 2006
I hv configured live DNS server with 55 IP and two ns record.the domain
is a registered domain.
I'm giving here my conf
in /etc/namedb/named.conf
options {
directory "/etc/namedb";
// multiple-cnames yes;
rrset-order {
type A name "*.abc.com" order cyclic;
};
}
zone "abc.com" IN {
type master;
file "/etc/namedb/abc.zone";
allow-query { any; };
};
zone "6.8.67.in-addr.arpa" IN {
type master;
file "/etc/namedb/6.8.67.zone";
allow-query { any; };
};
now in /etc/named/abc.zone :- For security reson IPs are jumbled up
$TTL 60
abc.com. IN SOA ns1.bbc.com. root.bbc.com. (
2006051044 ; Serial
28800 ; Refresh
14400 ; Retry
3600000 ) ; Expire
abc.com. IN NS ns1.bbc.com.
abc.com. IN NS ns2.bbc.com.
ns1.bbc.com. IN A 6.18.6.24
ns2.bbc.com. IN A 6.18.6.24
www 60 IN A 2.3.29.4
www 60 IN A 2.3.29.5
www 60 IN A 2.3.29.13
www 60 IN A 2.3.29.14
www 60 IN A 2.3.29.28
www 60 IN A 2.3.229.29
www 60 IN A 2.3.29.36
www 60 IN A 2.3.29.37
www 60 IN A 7.3.29.52
www 60 IN A 7.3.29.53
www 60 IN A 2.3.29.60
www 60 IN A 2.3.2.61
www 60 IN A 2.3.2.100
www 60 IN A 2.3.29.101
www 60 IN A 2.3.29.108
www 60 IN A 7.36.29.109
www 60 IN A 7.36.29.124
www 60 IN A 7.36.29.125
www 60 IN A 7.36.29.132
www 60 IN A 7.36.29.133
www 60 IN A 6.56.20.76
www 60 IN A 6.56.20.77
www 60 IN A 6.18.3.172
www 60 IN A 6.18.3.173
www 60 IN A 6.18.8.92
www 60 IN A 7.18.8.93
www 60 IN A 7.19.1.124
www 60 IN A 7.19.1.125
www 60 IN A 9.93.1.164
www 60 IN A 9.93.1.165
www 60 IN A 69.9.18.172
www 60 IN A 69.3.18.13
www 60 IN A 70.5.15.20
www 60 IN A 70.5.15.221
www 60 IN A 70.8.16.12
www 60 IN A 7.5.16.13
www 60 IN A 6.8.8.84
www 60 IN A 6.8.8.85
www 60 IN A 6.8.3.164
www 60 IN A 6.8.3.165
www 60 IN A 7.18.2.148
www 60 IN A 7.18.2.149
www 60 IN A 7.18.3.28
www 60 IN A 7.18.32.29
www 60 IN A 7.18.3.26
www 60 IN A 7.18.31.37
www 60 IN A 7.18.3.44
www 60 IN A 7.18.34.45
www 60 IN A 7.18.42.2
www 60 IN A 7.18.42.3
www 60 IN A 29.40.10.50
www 60 IN A 20.40.10.49
www 60 IN A 20.40.10.46
www 60 IN A 20.40.10.48
www 60 IN A 20.40.10.47
Now after starting bind my DNS is working perfectly alright. but i'm
doing
dig www.abc.com....it is returning the 55 Ip in a Round Robin order.
I need to return 10 IPs in Round Robin order not all 55 IP's.
any idea how to do that.
How to return a set of IP(suppose 10) from a RR DNS havins lots of A
record. ?
Cud u help me ?
More information about the bind-users
mailing list