Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
System Administration
Showing results for 
Search instead for 
Did you mean: 

mailx: getipnodebyaddr (IPv6:::1) failed: 1

Go to solution
Tariq Hasan_1
Frequent Advisor

mailx: getipnodebyaddr (IPv6:::1) failed: 1


I am using a current and working file, but when sending mail, I am getting the entry in mail log:

Jan 3 11:08:37 ******** sendmail[14462]: unable to qualify my own domain name (********) -- using short name
Jan 3 11:08:37 ******** sendmail[14462]: be sure to set domain name in Dj macro in
Jan 3 11:08:37 ******** sendmail[14462]: getipnodebyaddr(IPv6:::1) failed: 1
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462:, delay=00:00:00, mailer=relay, pri=0,
relay=mailhost, dsn=4.4.3, stat=Transient parse error -- message queued for future delivery
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462: from=root, size=138, class=0, nrcpts=1, msgid=<200701031108.l03B8b

8d014462@********>, relay=root@localhost
Jan 3 11:08:37 ******** sendmail[14462]: l03B8b8d014462:, delay=00:00:00, mailer=relay, pri=30
138, dsn=4.4.3, stat=queued

where ******** is the hostname

Can you help?

Peter Godron
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

please address your feedback rating :0 points awarded to 24 answers !

You seem you be have found:
Install a later version of sendmail or use the IPv4 addressing system.

Please also read: on how to reward any useful answers given to your questions.
Steven E. Protter
Exalted Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Shalom Tariq,

DNS name lookup failed.


Use dig or nslookup to make sure you are getting good answers.

By default, sendmail will try and lookup the hostname of the recipient and directly deliver the mail.

If this is not permitted by your firewall, you may need to use an smtp relay server on your local network.

The simple way of doing that is the DS directive in sendmail.conf

You will need to check with network administration to see what the policy is.

Steven E Protter
Owner of ISN Corporation
Wouter Jagers
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

Can you resolve your own hostname both ways ? (name to IP and other way around)

Also, do you have an nsswitch.conf file ? If not, make one and make sure this line is in:

hosts: files [NOTFOUND=continue] dns

Then, put the mail server in your /etc/hosts file.

Still the same problem then ?
an engineer's aim in a discussion is not to persuade, but to clarify.
Peter Godron
Honored Contributor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1

thanks for the feedback. As you have allocated max points and have indicated that you have received the answer to your question, can you now please:

1. Close the thread:

Please don't forget to summarise what you did to fix the problem, as this will be useful to other people with the same problem.

2. Review your other questions, such as:
Tariq Hasan_1
Frequent Advisor

Re: mailx: getipnodebyaddr (IPv6:::1) failed: 1


Putting in the nsswitch and resolv .conf files did the trick.