Mutlple DNS adress records; just one used
Posted: December 15th, 2010, 3:29 pm
I sometimes have problems that connections to one of my news-servers stall. The news-server status in Connections goes to connection refused in this case.
I found out that when a news server has multiple IP-adresses, one failing server will not trigger a failover to another IP-adress; the entry on DNS seems to keep the failing address, not retrying with another IP.
I have configure the IPv6 newsserver reader.ipv6.xsnews.nl, that has 4 IP-adresses:
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::4
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::5
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::3
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::2
I added the all the IP-adresses to the server list, and three of them are okay, one is failing. For some reason the SABNZBd connection on DNS picks the failing server, and stays on that choice for quite some hours.
reader.ipv6.xsnews.nl:119: Failed to connect: (110, '[Errno 111] Connection refused') 1@reader.ipv6.xsnews.nl:119
2001:67c:174:101::5:119: 1 Verbinding #1 -> part14of17.
2001:67c:174:101::4:119: Failed to connect: (110, '[Errno 111] Connection refused') 1@2001:67c:174:101::4:119
2001:67c:174:101::3:119: 1 Verbinding #1 -> part9of17
2001:67c:174:101::2:119: 1 Verbinding #1 -> part13of17
I would expect the server connection on DNS (reader.ipv6.xsnews.nl) to retry on another IP.
Version: 0.5.4
OS: Ubuntu 10.10
Install-type: python source
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? yes
Is the issue reproducible? yes
I found out that when a news server has multiple IP-adresses, one failing server will not trigger a failover to another IP-adress; the entry on DNS seems to keep the failing address, not retrying with another IP.
I have configure the IPv6 newsserver reader.ipv6.xsnews.nl, that has 4 IP-adresses:
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::4
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::5
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::3
reader.ipv6.xsnews.nl. 5321 IN AAAA 2001:67c:174:101::2
I added the all the IP-adresses to the server list, and three of them are okay, one is failing. For some reason the SABNZBd connection on DNS picks the failing server, and stays on that choice for quite some hours.
reader.ipv6.xsnews.nl:119: Failed to connect: (110, '[Errno 111] Connection refused') 1@reader.ipv6.xsnews.nl:119
2001:67c:174:101::5:119: 1 Verbinding #1 -> part14of17.
2001:67c:174:101::4:119: Failed to connect: (110, '[Errno 111] Connection refused') 1@2001:67c:174:101::4:119
2001:67c:174:101::3:119: 1 Verbinding #1 -> part9of17
2001:67c:174:101::2:119: 1 Verbinding #1 -> part13of17
I would expect the server connection on DNS (reader.ipv6.xsnews.nl) to retry on another IP.
Version: 0.5.4
OS: Ubuntu 10.10
Install-type: python source
Skin (if applicable): Default
Firewall Software: None
Are you using IPV6? yes
Is the issue reproducible? yes