Can you look up any DNS address, e.g.:
and then if sendmail is using DNS to find the mail exchanger then:
and then
and then to exit from nslookup:
On my system the above looks like:
Looks like your /etc/inet/hosts file needs a localhost entry put back into it or else the linking of /etc/hosts and /etc/inet/hosts has been lost.
Put:
into /etc/inet/hosts if not already present and ensure that /etc/hosts is a link to /etc/hosts (hard or symbolic).
Then try nslookup again.
Update:
Should have looked a bit more closely, the resolv.conf file does not list an active nameserver, the only one listed is commented out, I suggest you either try uncommenting out the one already listed in your resolv.conf and/or find out what the IP address of the DNS server on your network is and out it into your resolv.conf. This is why nslookup is trying to use localhost as the DNS server.
Last edited by TonyFullerMalv; 01-04-2010 at 09:36 PM..
This is just give some overview of our setup we have two solaris fujitsu servers running with solaris 9 version and both are in active - active mode with veritas clustering, and on this servers we have Database on single server and on second server Application Tier.
1) I verified the link between /etc/hosts and /etc/inet/hosts it is there.
root $ls -ltr hosts
lrwxrwxrwx 1 root root 12 Oct 17 2005 hosts -> ./inet/hosts
2)I checked the below entry in /etc/hosts file its not there , if I made entry in this file do we face any impact due to this modification .
Hello Moderators,
Greetings !!
This is regarding my friend to whom I refered this forum to learn UNIX. User didn't receieved any registration email yet, could you please help user. Will be grateful to you on same.
Login name: Gurvinder_Kaur
NOTE: User doesn't have enough bits for... (0 Replies)
I created a bash script that gets a file formats it, sends an email to the user(s), however, for whatever reason, it will send an email per line with all of the lines in it, so essentially the user will get 10 duplicate emails with the same 10 results. I've modified the script to put the results of... (2 Replies)
Folks,
I have written one script for following condition by referring some of online post in this forum. Please correct it if I'm missing something in it. (OS: AIX 5.3)
List the idle user. (I used whoidle command to list first 15 user and get username, idle time, pid and login time).... (4 Replies)
hi all,
This is user that i want sent the email:
Email = allan@gmail.com bruce8899@gmail.com Chris@gmail.com
echo "$dir : $filecount is over the limit $limit " | mailx -s "${SUBJECT}" "${email}"
However it cannot sent to 3 user..only sent to 1 user email address.
Any 1 can help me... (15 Replies)
Hello everyone
I have a problem and I need your help:
I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server.
I need send an email from Solaris servers preferably using Centos4 email server.
I have no mail service configured in my Solaris computers (1 Reply)
Hi
I am using mailx to send email and am wondering if there is a way I can send the email from a different user than the user logged in.
something like do-not-reply@xyz.com
Thank you. (1 Reply)