Whenever I try to access a non-local package source like ftp.debian.org from aptitude it tries to access IP 1.0.0.0. The thing is everything else (Mozilla, where I'm posting this from, ping, nslookup) can resolve the same names correctly. Even worse, when I run ping ftp.debian.org and then immediately after run aptitude it will use the already cached lookup result and will resolve the domain name correctly. However, by the time I get to downloading modules after selecting them the correctly resolved IP will time out and aptitude will be stuck again on 1.0.0.0. I tried looking for a similar problem on the net but didn't find anything... I'd appreciate any clues. I'm using Debian 3.1r2. Here's the contents of my sources.list file:
#deb file:///cdrom/ sarge main
deb cdrom:[Debian GNU/Linux 3.1 r2 _Sarge_ - Official i386 Binary-1 (20060419)]/ unstable contrib main
deb http://ftp.debian.org/ stable main contrib
# deb http://security.debian.org/ stable/updates main contrib
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230