Author |
Message
|
krypton |
Posted: Thu May 02, 2019 12:14 pm Post subject: Do we need to restart QMGR after Disabling reverse DNS looku |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
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 |
|
 |
hughson |
Posted: Fri May 03, 2019 11:33 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
krypton |
Posted: Fri May 03, 2019 11:49 pm Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
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 |
|
 |
PeterPotkay |
Posted: Sun May 05, 2019 2:26 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
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 |
|
 |
krypton |
Posted: Mon May 06, 2019 6:44 am Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
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 |
|
 |
gbaddeley |
Posted: Mon May 06, 2019 3:48 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 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 |
|
 |
krypton |
Posted: Wed Jun 12, 2019 4:15 am Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
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 |
|
 |
hughson |
Posted: Wed Jun 12, 2019 2:19 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 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 |
|
 |
|