Re: Debian squeeze (testing) dns problems

2009-05-09 Thread Hugh Lawson
Sven Joachim svenj...@gmx.de writes:

 On 2009-05-08 14:28 +0200, Hugh Lawson wrote:


 My newly installed squeeze has problems with DNS.  Specificially, Emacs 
 gnus and evolution cannot reliably find their respective servers.  

Sven wrote:

 This seems to be a libc6 problem, see bugs #516218¹ and #517360².  You
 may want to upgrade the libc6 package to the version in sid -- but avoid
 version 2.9-11, it is broken as well³.  Either install 2.9-10 or wait
 for 2.9-12.


Hugh again: Thanks to Sven and Bob for the help.  I can work around this
problem by configuring these programs with the IP of their respective
servers.  This works very well.

Hugh



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Debian squeeze (testing) dns problems

2009-05-08 Thread Hugh Lawson
Hello,

I hope there will be some suggestions for this. This is a single-user 
box, managed by an amateur (me).  This is surprising and baffling; it 
makes me suspect I've made some basic error in configuration, but I 
can't find it.

My newly installed squeeze has problems with DNS.  Specificially, Emacs 
gnus and evolution cannot reliably find their respective servers.  

If I configure the applications with 'pop-server.triad.rr.com', for 
example, they report that they cannot find the server.  But if I 
configure them with the IP of the server,they work OK.

OTOH iceweasel works fine.

As far as I can tell, nslookup, ping, and host work as expected.  

A lenny install on the same hardware works fine.

Things I've already tried:

Configuring applications with IP rather that URL of server. Works

Changing the name-servers in /etc/resolv.conf--makes no difference.

Reinstalling squeeze with a later netinst cd--makes no difference.

-- 
Hugh Lawson
hlaw...@triad.rr.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian squeeze (testing) dns problems

2009-05-08 Thread Bob Cox
On Fri, May 08, 2009 at 08:28:15 -0400, Hugh Lawson (hlaw...@triad.rr.com) 
wrote: 

 Hello,
 
 I hope there will be some suggestions for this. This is a single-user 
 box, managed by an amateur (me).  This is surprising and baffling; it 
 makes me suspect I've made some basic error in configuration, but I 
 can't find it.
 
 My newly installed squeeze has problems with DNS.  Specificially, Emacs 
 gnus and evolution cannot reliably find their respective servers.  
 
 If I configure the applications with 'pop-server.triad.rr.com', for 
 example, they report that they cannot find the server.  But if I 
 configure them with the IP of the server,they work OK.
 
 OTOH iceweasel works fine.
 
 As far as I can tell, nslookup, ping, and host work as expected.  
 
 A lenny install on the same hardware works fine.
 
 Things I've already tried:
 
 Configuring applications with IP rather that URL of server. Works
 
 Changing the name-servers in /etc/resolv.conf--makes no difference.
 
 Reinstalling squeeze with a later netinst cd--makes no difference.

Presumably, the applications you mention as having problems are using
fetchmail to retrieve mail from pop-server.triad.rr.com?

What do you see if you run fetchmail directly from the command line with
fetchmail -vvv ?

(I have just tried this from here with a dummy username and password and
connected successfully with pop-server.triad.rr.com on the POP3 port,
110).

fetchmail: 6.3.9-rc2 querying pop-server.triad.rr.com (protocol POP3) at Fri 08 
May 2009 14:18:40 BST: poll started
Trying to connect to 71.74.56.73/110...connected.
fetchmail: POP3 +OK POP3 server ready.
fetchmail: POP3 CAPA
fetchmail: POP3 +OK Capability list follows
fetchmail: POP3 TOP
fetchmail: POP3 USER
fetchmail: POP3 RESP_CODES
fetchmail: POP3 PIPELINING
fetchmail: POP3 EXPIRE NEVER
fetchmail: POP3 UIDL
fetchmail: POP3 .
fetchmail: pop-server.triad.rr.com: opportunistic upgrade to TLS failed, trying 
to continue.
fetchmail: POP3 USER test
fetchmail: POP3 +OK please send PASS command
fetchmail: POP3 PASS *
fetchmail: POP3 -ERR invalid user name or password.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
http://bobcox.com/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian squeeze (testing) dns problems

2009-05-08 Thread Hugh Lawson
Bob Cox debian-u...@lists.bobcox.com writes:

[ snip ]

Hugh wrote:

 My newly installed squeeze has problems with DNS.  Specificially, Emacs 
 gnus and evolution cannot reliably find their respective servers.  

Bob asks:

 What do you see if you run fetchmail directly from the command line with
 fetchmail -vvv ?

Hugh replies:

Thanks for the reply; here goes:

hlaw...@desktop:~$ fetchmail -vv

fetchmail: 6.3.9-rc2 querying pop-server.triad.rr.com (protocol POP3) at
Fri 08 May 2009 09:50:07 AM EDT: poll started

fetchmail: getaddrinfo(pop-server.triad.rr.com,pop3) error: Name or
service not known POP3 connection to pop-server.triad.rr.com failed: No
such file or directory

fetchmail: 6.3.9-rc2 querying pop-server.triad.rr.com (protocol POP3) at
Fri 08 May 2009 09:50:22 AM EDT: poll completed

fetchmail: Query status=2 (SOCKET)

fetchmail: normal termination, status 2


Occasionally fetchmail connects; the same is true with emacs
gnus. Moreover the 'host' command works as expected.  

$ host pop-server.triad.rr.com
pop-server.triad.rr.com has address 71.74.56.73

Now if I put '71.74.56.73' in the .fetchmailrc in place of
'pop-server.triad.rr.com'  I get this in return:

$ fetchmail -vv

fetchmail: 6.3.9-rc2 querying 71.74.56.73 (protocol POP3) at Fri 08 May
2009 10:01:55 AM EDT: poll started
Trying to connect to 71.74.56.73/110...connected.
fetchmail: POP3 +OK POP3 server ready.
fetchmail: POP3 USER hlawson
fetchmail: POP3 +OK please send PASS command
fetchmail: POP3 PASS *
fetchmail: POP3 +OK hlawson is welcome here
fetchmail: selecting or re-polling default folder


and so on, a normal reply.  With the IP service is very fast. With the
name, there is a delay of 20 seconds or so before error
message. 


Hugh


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian squeeze (testing) dns problems

2009-05-08 Thread Martin McCormick
Hugh Lawson writes:
 Bob Cox debian-u...@lists.bobcox.com writes:
 
 [ snip ]

 fetchmail: getaddrinfo(pop-server.triad.rr.com,pop3) error: Name or

I tried the following:

host -a pop-server.triad.rr.com

to see what sort of DNS lookup we get:

Trying pop-server.triad.rr.com


pop-server.triad.rr.com. 232IN  A   71.74.56.73

triad.rr.com.   3532IN  NS  dns-sec-01.southeast.rr.com.
triad.rr.com.   3532IN  NS  dns-pri-01.southeast.rr.com.

dns-pri-01.southeast.rr.com. 3007 INA   24.25.4.103
dns-sec-01.southeast.rr.com. 3007 INA   24.25.4.104

pop-server.triad.rr.com's DNS TTL or time to live is only about
5 minutes. This is the amount of time that your cache will
remember it after having looked it up. Actually, in my example,
it is 232 seconds or 2 minutes and 12 seconds so it could be
anything up to around 5 minutes. There is nothing wrong with
that if you have good communications with one of the DNS's shown
as authoritative for that domain. If you don't, you've got an
intermittent problem as your resolver is doing exactly what it
is supposed to do. It remembers for up to 5 minutes and then
does another lookup after that to refresh itself and, if it
can't contact one of the DNS's listed there, the lookup fails.

The short TTL for the pop server may be a load balancing
strategy so this isn't necessarily a bad thing but it turns bad
if connectivity to the authoritative DNS's or functionality of
the DNS's is poor.

My apology if this sounds like no help, but it may be an
explanation of why the lookup sometimes fails.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Debian squeeze (testing) dns problems

2009-05-08 Thread Sven Joachim
On 2009-05-08 14:28 +0200, Hugh Lawson wrote:

 I hope there will be some suggestions for this. This is a single-user 
 box, managed by an amateur (me).  This is surprising and baffling; it 
 makes me suspect I've made some basic error in configuration, but I 
 can't find it.

 My newly installed squeeze has problems with DNS.  Specificially, Emacs 
 gnus and evolution cannot reliably find their respective servers.  

This seems to be a libc6 problem, see bugs #516218¹ and #517360².  You
may want to upgrade the libc6 package to the version in sid -- but avoid
version 2.9-11, it is broken as well³.  Either install 2.9-10 or wait
for 2.9-12.

Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516218
² http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517360
³ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527541


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org