Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mail/DNS problem and questions Post 101982 by RTM on Tuesday 14th of March 2006 06:35:15 PM
Old 03-14-2006
Quote:
mydomain.com: Name server timeout
This is telling you that there is a problem with DNS.

Check your /etc/resolv.conf on the server that this error happened on. If the server is on your internal network, then it should be resolving to the internal DNS. If it's on an external network, then it could be going to the external DNS or internal DNS (it matters where the server is in relation to the firewalls and the internal network)

You need to verify the following on that server:
You can use nslookup - once you get into nslookup, get the output of the following commands:
Put in the IP of the MX server
>xxx.xxx.xxx.xxx
Check that it comes back with the correct info
Put in the name of the MX server
> my-mx-host
Check that it comes back with the correct info
Put in the following to check PTR record (where xxx.xxx.xxx.xxx is the IP of the MX server
> set type=ptr
> xxx.xxx.xxx.xxx
Check that it comes back with the correct info
Put in the following to check MX record (where mydomain.com is the actual domain of the MX server
> set type=mx
> mydomain.com
Check that it comes back with the correct info

You can also check Sendmail with the following tests
$ /usr/lib/sendmail -d0.1 -bt < /dev/null
Make sure there are no errors in the output
It should look something like this:
Quote:
Version 8.13.4
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS TCPWRAPPERS USERDB USE_LDAP_INIT

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = localhost
(canonical domain name) $j = localhost.localdomain
(subdomain name) $m = localdomain
(node name) $k = localhost.localdomain
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
Another question - is the email you are sending going to the same domain (mydomain.com)? Or is it being sent to a different domain (and out of your network - yahoo.com)?

And post the OS and version - and the version of Sendmail (especially if it is compiled by you/your company versus the one that came with the system). Same with your DNS.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to send mail from aix to lotus with dns

hi , before installing dns on my server, all was ok I was able to send message from aix to my lotus notes server thanks to this command: mail -v aaaaaaaaaa@bbbbbbb.fr in my /etc/hosts , there was xx.xx.xx.xx lotus xx.xx.xx.xx server name in my... (3 Replies)
Discussion started by: hubert
3 Replies

2. IP Networking

DNS questions.

We're running Bind version 8.1.2 on Solaris. How do you flush the DNS cache? Also, I see the files named.boot and named.conf in /etc. Do I need both of these files? I've read that named.boot is for Bind version 4x, and that named.conf is for Bind version 8.x and greater. Our resolv.conf file... (2 Replies)
Discussion started by: Westy564
2 Replies

3. IP Networking

E-Mail questions

Hi, guys ! I have two questions... and it will be great if someone could give me some clues or a point to start... 1. I have a Linux server (at work) and I'd like to replace it with a FreeBSD. The server is working as a mail server (and a lot of other things) using qmail and vpopmail. I'd like... (1 Reply)
Discussion started by: Sergiu-IT
1 Replies

4. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

5. UNIX for Dummies Questions & Answers

unix mail questions

Hi All, Im trying to send a .ZIP file in an email message using mail or mailx. What is the easiest way to do this? Thanks! UPDATE: I used the following command which didnt work mailx -s {my subject} {xxxxx@ssss.com} < /var/tmp/file.zip (3 Replies)
Discussion started by: lewisoco
3 Replies

6. UNIX for Dummies Questions & Answers

I have a questions about mail command

Any possibility to send a mail to internal mail using mail command? i am using fedora7. Example: username@192.168.1.1 (1 Reply)
Discussion started by: btech_raju
1 Replies

7. Red Hat

Mail Problem. Maybe, it is a DNS Problem!

Hi, i've a redhat linux 9 upadated by redhat from 7 version to 9 version. A couple of days ago i was a problem with my mail, in other words i'm not able to get any email nor to send any email. I've a proxy configuration and i tried to set iptables in order to verify the port. The 110,255 and 995... (1 Reply)
Discussion started by: pintalgi
1 Replies

8. UNIX for Dummies Questions & Answers

DNS mail server configuration

Hello fellow unix dudes, I have a question on DNS. Basically the error is my domain.com server can not send email to my mail.domain.com server. I have a virtual server with one IP say 192.10.11.12 and a mail server with iP 172.4.5.6 When the virutal server on ip 192.10.11.12 was setup,... (0 Replies)
Discussion started by: photon
0 Replies

9. IP Networking

DNS config preventing mail delivery

Hi Please can you help on this: the Net Admins decided to use DNS to resolve names, so this is preventing mail being delivered when using commands like date | mailx -s "test" abc.xyz@asdf.xx.yy. What we were asked was to edit /etc/resolv.confand add 3 entries, in all servers (10 Replies)
Discussion started by: fretagi
10 Replies

10. Windows & DOS: Issues & Discussions

Home Questions Tags Users Unanswered Windows 2016 DNS server returns SERVFAIL for non-existing doma

I have two DNS resolvers in /etc/resolv.conf file. The top one is Windows DNS server, and the bottom one is my wi-fi router. Please see below. nameserver 192.168.1.126 nameserver 192.168.1.1 In Windows DNS server, the sole "Forward Lookup Zone" is biman.net When I query for host in the zone... (6 Replies)
Discussion started by: broy32000
6 Replies
Mail::DKIM::DNS(3)					User Contributed Perl Documentation					Mail::DKIM::DNS(3)

NAME
Mail::DKIM::DNS - performs DNS queries for Mail::DKIM DESCRIPTION
This is the module that performs DNS queries for Mail::DKIM. CONFIGURATION
This module has a couple configuration settings that the caller may want to use to customize the behavior of this module. $Mail::DKIM::DNS::TIMEOUT This global variable specifies the maximum amount of time (in seconds) to wait for a single DNS query to complete. The default is 10. Mail::DKIM::DNS::resolver() Use this global subroutine to get or replace the instance of Net::DNS::Resolver that Mail::DKIM uses. If set to undef (the default), then a brand new default instance of Net::DNS::Resolver will be created the first time a DNS query is needed. You will call this subroutine if you want to specify non-default options to Net::DNS::Resolver, such as different timeouts, or to enable use of a persistent socket. For example: # first, construct a custom DNS resolver my $res = Net::DNS::Resolver->new( udp_timeout => 3, tcp_timeout => 3, retry => 2, ); $res->udppacketsize(1240); $res->persistent_udp(1); # then, tell Mail::DKIM to use this resolver Mail::DKIM::DNS::resolver($res); Mail::DKIM::DNS::enable_EDNS0() This is a convenience subroutine that will construct an appropriate DNS resolver that uses EDNS0 (Extension mechanisms for DNS) to support large DNS replies, and configure Mail::DKIM to use it. (As such, it should NOT be used in conjunction with the resolver() subroutine described above.) Mail::DKIM::DNS::enable_EDNS0(); Use of EDNS0 is recommended, since it reduces the need for falling back to TCP when dealing with large DNS packets. However, it is not enabled by default because some Internet firewalls which do deep inspection of packets are not able to process EDNS0-enabled packets. When there is a firewall on a path to a DNS resolver, the EDNS0 feature should be specifically tested before enabling. AUTHOR
Jason Long, <jlong@messiah.edu> COPYRIGHT AND LICENSE
Copyright (C) 2006-2007, 2012-2013 by Messiah College This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. perl v5.18.2 2013-02-07 Mail::DKIM::DNS(3)
All times are GMT -4. The time now is 03:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy