ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexGeneral IBM MQ SupportDo we need to restart QMGR after Disabling reverse DNS looku

Post new topicReply to topic
Do we need to restart QMGR after Disabling reverse DNS looku View previous topic :: View next topic
Author Message
krypton
PostPosted: Thu May 02, 2019 12:14 pm Post subject: Do we need to restart QMGR after Disabling reverse DNS looku Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 185

if we disable the Reverse DNS lookup in QMGR property using ALTER QMGR command , do we need to restart the queue manager to take that into affect?

Also is there any other place we need to change the setting, as we are receiving
the below error in our QMGR logs

AMQ9788W: Slow DNS lookup for address '

An attempt to resolve address '11.122.133.44' using the 'getnameinfo' function
call took 4 seconds to complete. This might indicate a problem with the DNS
configuration.
ACTION:
Ensure that DNS is correctly configured on the local system.

If the address was an IP address then the slow operation was a reverse DNS
lookup. Some DNS configurations are not capable of reverse DNS lookups and some
IP addresses have no valid reverse DNS entries. If the problem persists,
consider disabling reverse DNS lookups until the issue with the DNS can be
Back to top
View user's profile Send private message
hughson
PostPosted: Fri May 03, 2019 11:33 am Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1277
Location: Bay of Plenty, New Zealand

I didn't think you needed to restart the queue manager to pick up a change to REVDNS. There is nowhere else to configure for control of reverse lookups apart from ALTER QMGR REVDNS.

If you have made the change and are still see the quoted error message then perhaps you do have to do a restart. I would be interested in your result as I didn't think you needed the restart.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
krypton
PostPosted: Fri May 03, 2019 11:49 pm Post subject: Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 185

hughson wrote:
I didn't think you needed to restart the queue manager to pick up a change to REVDNS. There is nowhere else to configure for control of reverse lookups apart from ALTER QMGR REVDNS.

If you have made the change and are still see the quoted error message then perhaps you do have to do a restart. I would be interested in your result as I didn't think you needed the restart.

Cheers,
Morag


Hi Morag, thank you, we didn't restart the queue manager.
_________________
Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sun May 05, 2019 2:26 pm Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7573

Typically, ALTER commands do not need a restart while changes made in the qm.ini file do.

Your error message kinda tells you the QM is trying to do DNS lookups, so your change worked.

Take MQ out of it. When you do DNS lookups for random IPs from the command line using the 'getnameinfo' function call, are you having to wait a long time for the results?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
krypton
PostPosted: Mon May 06, 2019 6:44 am Post subject: Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 185

Quote:

Take MQ out of it. When you do DNS lookups for random IPs from the command line using the 'getnameinfo' function call, are you having to wait a long time for the results?



http://man7.org/linux/man-pages/man3/getnameinfo.3.html

Seems like I have no access to run this function on LINUX.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon May 06, 2019 3:48 pm Post subject: Reply with quote

Jedi

Joined: 25 Mar 2003
Posts: 2036
Location: Melbourne, Australia

krypton wrote:
Quote:

Take MQ out of it. When you do DNS lookups for random IPs from the command line using the 'getnameinfo' function call, are you having to wait a long time for the results?

http://man7.org/linux/man-pages/man3/getnameinfo.3.html
Seems like I have no access to run this function on LINUX.

Its a function. I don't know of any native LINUX shell command that calls this function. You could write a program or script to call it.

eg. I found the following python code:
python -c 'import socket;print socket.getnameinfo(("192.125.113.222",0),0)'
returns
('mythicalhost.com', '0')
_________________
Glenn
Back to top
View user's profile Send private message
krypton
PostPosted: Wed Jun 12, 2019 4:15 am Post subject: Reply with quote

Disciple

Joined: 14 Mar 2010
Posts: 185

hughson wrote:
I would be interested in your result as I didn't think you needed the restart.
Cheers,
Morag


Hi Morag, we did change the REVDNS and it didn't required a restart and it worked.
Back to top
View user's profile Send private message
hughson
PostPosted: Wed Jun 12, 2019 2:19 pm Post subject: Reply with quote

Grand Master

Joined: 09 May 2013
Posts: 1277
Location: Bay of Plenty, New Zealand

krypton wrote:
hughson wrote:
I would be interested in your result as I didn't think you needed the restart.
Cheers,
Morag


Hi Morag, we did change the REVDNS and it didn't required a restart and it worked.

Good to know - that was my understanding too. Thanks for looping back to confirm.

Cheers,
Morag
_________________
Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportDo we need to restart QMGR after Disabling reverse DNS looku
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.