RE: Related to sendmail gethostbyaddr error
Have you pointed your mailserver to the new dns server? Seems to me that should fix things, since you say that if you put the IP in hosts it works ok. -Original Message- From: Swapana Ghosh [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:14 AM To: [EMAIL PROTECTED] Subject: Related to sendmail gethostbyaddr error Hi Two days back I asked a question about the sendmail gethostbyaddr errors.. Our server is Cobalt raq4r. On this server the sendmail is running.. Now in this server bind was running and all the domains' entries with their PTRs were present under the bind configuration. Now very recently all the domains are moved to the new name server and the zones have been deleted from this server. The problem is when sendmail is running, for the zones which have been deleted from this server, for those ip address sendmail log is showing the error::: Sep 4 00:25:01 server sendmail[23133]: gethostbyaddr(xxx.xxx.xx.35) failed: 1 ... ... If the IP address , i mention in the /etc/hosts file then the errors are not coming. But my question is for the new name server the reverse PTR , everything has been configured. So from this server why the reverse PTR is being failed? From the other server it is working fine... So anyhow what i guess that if i can force sendmail *not to check this server for the look up of the PTR * then my problem can be solved... Need suggession /advice Best Regards. -Swapna __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
RE: Related to sendmail gethostbyaddr error
Hi No i have not touched anything in the mailserver. Could you please guide me how to point the mailserver to the new DNS server... This is the cobalt server so i generally don't touch the sendmail.cf file... Anyway it will be helpful if you say me how i will pointed sendmail to check the reverse PTR where the new nameserver is looking into I have checked the resolv.conf file the first entry is showing the server ip address. Where as the new nameservr has the ip addresses of the provider Thanks again -Swapna But when i am searching with dig -x domain then it is giving the error --- Jack Berger [EMAIL PROTECTED] wrote: Have you pointed your mailserver to the new dns server? Seems to me that should fix things, since you say that if you put the IP in hosts it works ok. -Original Message- From: Swapana Ghosh [mailto:[EMAIL PROTECTED] Sent: Monday, September 08, 2003 12:14 AM To: [EMAIL PROTECTED] Subject: Related to sendmail gethostbyaddr error __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Related to sendmail gethostbyaddr error
I don't believe that the sendmail.cf file points to a dns server. I could be totally wrong on this though. The first thing I would check is where the mailserver gets its dns info. What do you get when you do an nslookup from the mail server? It should tell you what nameserver it is using. as in: [EMAIL PROTECTED]:~ nslookup thor.nowhere.org Server: castor.nowhere.orgthis is the dns server it is using Address: 141.141.1.60 and its address Name:thor.nowhere.org the system you are querying for Address: 141.141.22.200 and its address Your resolv.conf should look like this: [EMAIL PROTECTED]:~ more /etc/resolv.conf nameserver 141.141.1.60primary dns nameserver 141.141.1.61secondary dns Also, check to see that the server is not still running named (the dns daemon). If it is that may be screwing things up. -jhb- From:Swapana Ghosh [EMAIL PROTECTED] No i have not touched anything in the mailserver. Could you please guide me how to point the mailserver to the new DNS server... This is the cobalt server so i generally don't touch the sendmail.cf file... Anyway it will be helpful if you say me how i will pointed sendmail to check the reverse PTR where the new nameserver is looking into I have checked the resolv.conf file the first entry is showing the server ip address. Where as the new nameservr has the ip addresses of the provider Thanks again -Swapna ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Related to sendmail gethostbyaddr error
Hi Two days back I asked a question about the sendmail gethostbyaddr errors.. Our server is Cobalt raq4r. On this server the sendmail is running.. Now in this server bind was running and all the domains' entries with their PTRs were present under the bind configuration. Now very recently all the domains are moved to the new name server and the zones have been deleted from this server. The problem is when sendmail is running, for the zones which have been deleted from this server, for those ip address sendmail log is showing the error::: Sep 4 00:25:01 server sendmail[23133]: gethostbyaddr(xxx.xxx.xx.35) failed: 1 ... ... If the IP address , i mention in the /etc/hosts file then the errors are not coming. But my question is for the new name server the reverse PTR , everything has been configured. So from this server why the reverse PTR is being failed? From the other server it is working fine... So anyhow what i guess that if i can force sendmail *not to check this server for the look up of the PTR * then my problem can be solved... Need suggession /advice Best Regards. -Swapna __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users