Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Michael Monnerie
I've just had a very strange bug which cost me an hour to find. mailserver: postfix-2.5.1-28.5 On the mailserver, I should receive mail from 212.69.162.205. # dig -x 212.69.162.205 showed me a correct, existing PTR: 205.192-28.162.69.212.in-addr.arpa. 3600 IN PTR protegate5.zmi.at. Just the for

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Stefan Förster
* Michael Monnerie : > I've just had a very strange bug which cost me an hour to find. > > mailserver: postfix-2.5.1-28.5 > > On the mailserver, I should receive mail from 212.69.162.205. > > # dig -x 212.69.162.205 > showed me a correct, existing PTR: > 205.192-28.162.69.212.in-addr.arpa. 3600

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Wietse Venema
Michael Monnerie: > I've just had a very strange bug which cost me an hour to find. > > mailserver: postfix-2.5.1-28.5 > > On the mailserver, I should receive mail from 212.69.162.205. > > # dig -x 212.69.162.205 > showed me a correct, existing PTR: > 205.192-28.162.69.212.in-addr.arpa. 3600 IN

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Michael Monnerie
On Donnerstag 27 August 2009 Wietse Venema wrote: > And this was logged when a reverse hostname resolved to the wrong IP > address: > >     Aug 26 00:26:12 spike postfix/smtpd[13393]: warning: > 61.135.132.106: address not listed for hostname > relay2nd.mail.sohu.com Thank you for clarification. I

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Michael Monnerie
On Donnerstag 27 August 2009 Stefan Förster wrote: > This is often reffered to as "forward confirmed reverse DNS": > http://en.wikipedia.org/wiki/Forward_Confirmed_reverse_DNS I know, I'm the one who set it up ;-) > The log text ist correct. A host with an IP resolved to > "protegate5.zmi.at" con

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-27 Thread Michael Monnerie
On Donnerstag 27 August 2009 Wietse Venema wrote: > And this was logged when a reverse hostname resolved to the wrong IP > address: > >     Aug 26 00:26:12 spike postfix/smtpd[13393]: warning: > 61.135.132.106: address not listed for hostname > relay2nd.mail.sohu.com I just found a good logging ex

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-28 Thread Ralf Hildebrandt
* Michael Monnerie : > I just found a good logging example with the nfs server: > rpc.mountd: Fake hostname ipmi-p4u.zmi.at for 212.69.162.206 - forward > lookup doesn't exist > That statement makes it clear, and would be a nice message for postfix > also. Didn't Wietse write that code? -- Ra

Re: Reverse DNS fails with "cannot find your hostname" when forward IP is wrong

2009-08-28 Thread Wietse Venema
Michael Monnerie: > On Donnerstag 27 August 2009 Wietse Venema wrote: > > And this was logged when a reverse hostname resolved to the wrong IP > > address: > > > > ? ? Aug 26 00:26:12 spike postfix/smtpd[13393]: warning: > > 61.135.132.106: address not listed for hostname > > relay2nd.mail.sohu.com